home *** CD-ROM | disk | FTP | other *** search
Unknown | 1999-06-07 | 366.0 KB |
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was not able to be converted.
This format is not currently supported by dexvert.
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| file
| data
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 03 00 1c 52 45 41 4c 62 | 61 73 69 63 20 4c 61 6e |...REALb|asic Lan|
|00000010| 67 75 61 67 65 20 52 65 | 66 65 72 65 6e 63 65 03 |guage Re|ference.|
|00000020| 00 0c 49 6e 74 72 6f 64 | 75 63 74 69 6f 6e 03 01 |..Introd|uction..|
|00000030| 87 54 68 65 20 70 75 72 | 70 6f 73 65 20 6f 66 20 |.The pur|pose of |
|00000040| 74 68 69 73 20 64 6f 63 | 75 6d 65 6e 74 20 69 73 |this doc|ument is|
|00000050| 20 74 6f 20 67 69 76 65 | 20 79 6f 75 20 66 61 73 | to give| you fas|
|00000060| 74 20 61 63 63 65 73 73 | 20 74 6f 20 69 6e 66 6f |t access| to info|
|00000070| 72 6d 61 74 69 6f 6e 20 | 61 62 6f 75 74 20 61 6c |rmation |about al|
|00000080| 6c 20 74 68 65 20 52 45 | 41 4c 62 61 73 69 63 20 |l the RE|ALbasic |
|00000090| 6f 62 6a 65 63 74 73 2c | 20 74 68 65 69 72 20 70 |objects,| their p|
|000000a0| 72 6f 70 65 72 74 69 65 | 73 2c 20 6d 65 74 68 6f |ropertie|s, metho|
|000000b0| 64 73 20 61 6e 64 20 65 | 76 65 6e 74 73 20 61 73 |ds and e|vents as|
|000000c0| 20 77 65 6c 6c 20 61 73 | 20 61 6c 6c 20 62 75 69 | well as| all bui|
|000000d0| 6c 74 20 69 6e 20 6d 65 | 74 68 6f 64 73 20 61 6e |lt in me|thods an|
|000000e0| 64 20 66 75 6e 63 74 69 | 6f 6e 73 2e 20 54 68 65 |d functi|ons. The|
|000000f0| 72 65 20 69 73 20 61 6c | 73 6f 20 61 20 74 75 74 |re is al|so a tut|
|00000100| 6f 72 69 61 6c 20 61 6e | 64 20 44 65 76 65 6c 6f |orial an|d Develo|
|00000110| 70 65 72 d5 73 20 47 75 | 69 64 65 20 77 68 69 63 |per.s Gu|ide whic|
|00000120| 68 20 77 69 6c 6c 20 74 | 65 61 63 68 20 61 6e 64 |h will t|each and|
|00000130| 20 65 78 70 6c 61 69 6e | 20 52 45 41 4c 62 61 73 | explain| REALbas|
|00000140| 69 63 20 70 72 6f 67 72 | 61 6d 6d 69 6e 67 20 63 |ic progr|amming c|
|00000150| 6f 6e 63 65 70 74 73 2e | 20 59 6f 75 72 20 63 6f |oncepts.| Your co|
|00000160| 6d 6d 65 6e 74 73 20 28 | 62 6f 74 68 20 66 61 76 |mments (|both fav|
|00000170| 6f 72 61 62 6c 65 20 61 | 6e 64 20 75 6e 66 61 76 |orable a|nd unfav|
|00000180| 6f 72 61 62 6c 65 29 20 | 61 72 65 20 77 65 6c 63 |orable) |are welc|
|00000190| 6f 6d 65 2e 20 53 65 6e | 64 20 74 68 65 6d 20 74 |ome. Sen|d them t|
|000001a0| 6f 20 62 75 67 73 40 72 | 65 61 6c 73 6f 66 74 77 |o bugs@r|ealsoftw|
|000001b0| 61 72 65 2e 63 6f 6d 2e | 03 00 0b 43 6f 6e 76 65 |are.com.|...Conve|
|000001c0| 6e 74 69 6f 6e 73 03 00 | 80 50 72 6f 70 65 72 74 |ntions..|.Propert|
|000001d0| 79 20 6e 61 6d 65 73 20 | 69 6e 20 62 6f 6c 64 20 |y names |in bold |
|000001e0| 61 72 65 20 72 65 61 64 | 2d 6f 6e 6c 79 20 61 74 |are read|-only at|
|000001f0| 20 72 75 6e 74 69 6d 65 | 2e 20 54 68 69 73 20 6d | runtime|. This m|
|00000200| 65 61 6e 73 20 74 68 61 | 74 20 79 6f 75 72 20 63 |eans tha|t your c|
|00000210| 6f 64 65 20 63 61 6e 20 | 72 65 61 64 20 74 68 65 |ode can |read the|
|00000220| 69 72 20 76 61 6c 75 65 | 73 20 62 75 74 20 63 61 |ir value|s but ca|
|00000230| 6e 6e 6f 74 20 63 68 61 | 6e 67 65 20 74 68 65 69 |nnot cha|nge thei|
|00000240| 72 20 76 61 6c 75 65 73 | 2e 03 00 49 4f 70 74 69 |r values|...IOpti|
|00000250| 6f 6e 61 6c 20 50 61 72 | 61 6d 65 74 65 72 73 20 |onal Par|ameters |
|00000260| 69 6e 20 73 79 6e 74 61 | 78 20 73 74 61 74 65 6d |in synta|x statem|
|00000270| 65 6e 74 73 20 61 72 65 | 20 73 75 72 72 6f 75 6e |ents are| surroun|
|00000280| 64 65 64 20 62 79 20 62 | 72 61 63 6b 65 74 73 2d |ded by b|rackets-|
|00000290| 20 5b 20 5d 2e 03 00 7c | 49 74 65 6d 73 20 69 6e | [ ]...||Items in|
|000002a0| 20 03 62 6c 75 65 20 75 | 6e 64 65 72 6c 69 6e 65 | .blue u|nderline|
|000002b0| 04 20 28 69 6e 20 74 68 | 65 20 50 44 46 20 76 65 |. (in th|e PDF ve|
|000002c0| 72 73 69 6f 6e 20 6f 66 | 20 74 68 65 20 4c 61 6e |rsion of| the Lan|
|000002d0| 67 75 61 67 65 20 52 65 | 66 65 72 65 6e 63 65 29 |guage Re|ference)|
|000002e0| 20 61 72 65 20 68 79 70 | 65 72 74 65 78 74 20 6c | are hyp|ertext l|
|000002f0| 69 6e 6b 73 20 74 6f 20 | 6f 74 68 65 72 20 70 61 |inks to |other pa|
|00000300| 72 74 73 20 6f 66 20 74 | 68 65 20 64 6f 63 75 6d |rts of t|he docum|
|00000310| 65 6e 74 2e 03 00 13 54 | 68 65 20 43 6c 61 73 73 |ent....T|he Class|
|00000320| 20 48 69 65 72 61 72 63 | 68 79 03 02 45 4f 62 6a | Hierarc|hy..EObj|
|00000330| 65 63 74 73 20 69 6e 20 | 52 45 41 4c 62 61 73 69 |ects in |REALbasi|
|00000340| 63 20 61 72 65 20 61 72 | 72 61 6e 67 65 64 20 69 |c are ar|ranged i|
|00000350| 6e 20 61 20 68 69 65 72 | 61 72 63 68 79 2e 20 54 |n a hier|archy. T|
|00000360| 68 69 73 20 6d 65 61 6e | 73 20 74 68 61 74 20 61 |his mean|s that a|
|00000370| 6e 20 6f 62 6a 65 63 74 | 20 69 6e 68 65 72 69 74 |n object| inherit|
|00000380| 73 20 74 68 65 20 70 72 | 6f 70 65 72 74 69 65 73 |s the pr|operties|
|00000390| 2c 20 6d 65 74 68 6f 64 | 73 2c 20 61 6e 64 20 65 |, method|s, and e|
|000003a0| 76 65 6e 74 73 20 6f 66 | 20 69 74 73 20 73 75 70 |vents of| its sup|
|000003b0| 65 72 20 63 6c 61 73 73 | 20 28 74 68 65 20 63 6c |er class| (the cl|
|000003c0| 61 73 73 65 73 20 61 62 | 6f 76 65 20 69 74 20 69 |asses ab|ove it i|
|000003d0| 6e 20 74 68 65 20 68 69 | 65 72 61 72 63 68 79 29 |n the hi|erarchy)|
|000003e0| 20 61 6e 64 20 6d 61 79 | 20 63 6f 6e 74 61 69 6e | and may| contain|
|000003f0| 20 70 72 6f 70 65 72 74 | 69 65 73 2c 20 6d 65 74 | propert|ies, met|
|00000400| 68 6f 64 73 2c 20 61 6e | 64 20 65 76 65 6e 74 73 |hods, an|d events|
|00000410| 20 74 68 61 74 20 61 72 | 65 20 75 6e 69 71 75 65 | that ar|e unique|
|00000420| 20 74 6f 20 74 68 65 20 | 6f 62 6a 65 63 74 2e 20 | to the |object. |
|00000430| 54 68 65 20 66 69 67 75 | 72 65 20 62 65 6c 6f 77 |The figu|re below|
|00000440| 20 73 68 6f 77 73 20 74 | 68 65 20 52 45 41 4c 62 | shows t|he REALb|
|00000450| 61 73 69 63 20 63 6c 61 | 73 73 20 68 69 65 72 61 |asic cla|ss hiera|
|00000460| 72 63 68 79 2e 20 41 20 | 70 75 73 68 62 75 74 74 |rchy. A |pushbutt|
|00000470| 6f 6e 20 66 6f 72 20 65 | 78 61 6d 70 6c 65 2c 20 |on for e|xample, |
|00000480| 69 73 20 61 20 73 75 62 | 63 6c 61 73 73 20 6f 66 |is a sub|class of|
|00000490| 20 61 20 52 65 63 74 43 | 6f 6e 74 72 6f 6c 2c 20 | a RectC|ontrol, |
|000004a0| 77 68 69 63 68 20 69 73 | 20 61 20 73 75 62 63 6c |which is| a subcl|
|000004b0| 61 73 73 20 6f 66 20 61 | 20 43 6f 6e 74 72 6f 6c |ass of a| Control|
|000004c0| 2c 20 77 68 69 63 68 20 | 69 73 20 61 20 73 75 62 |, which |is a sub|
|000004d0| 63 6c 61 73 73 20 6f 66 | 20 61 6e 20 4f 62 6a 65 |class of| an Obje|
|000004e0| 63 74 20 28 74 68 65 20 | 62 61 73 65 20 63 6c 61 |ct (the |base cla|
|000004f0| 73 73 20 66 6f 72 20 61 | 6c 6c 20 6f 62 6a 65 63 |ss for a|ll objec|
|00000500| 74 73 29 2e 20 4f 62 6a | 65 63 74 20 63 6c 61 73 |ts). Obj|ect clas|
|00000510| 73 65 73 20 69 6e 20 62 | 6f 6c 64 20 69 6e 20 74 |ses in b|old in t|
|00000520| 68 65 20 66 69 67 75 72 | 65 20 62 65 6c 6f 77 20 |he figur|e below |
|00000530| 61 72 65 20 6e 6f 74 20 | 64 69 72 65 63 74 6c 79 |are not |directly|
|00000540| 20 61 63 63 65 73 73 69 | 62 6c 65 2e 20 59 6f 75 | accessi|ble. You|
|00000550| 20 63 61 6e 20 6f 6e 6c | 79 20 61 63 63 65 73 73 | can onl|y access|
|00000560| 20 74 68 65 69 72 20 73 | 75 62 63 6c 61 73 73 65 | their s|ubclasse|
|00000570| 73 2e 03 00 1a 43 72 6f | 73 73 2d 50 6c 61 74 66 |s....Cro|ss-Platf|
|00000580| 6f 72 6d 20 44 65 76 65 | 6c 6f 70 6d 65 6e 74 02 |orm Deve|lopment.|
|00000590| 00 12 55 73 69 6e 67 20 | 54 61 72 67 65 74 20 46 |..Using |Target F|
|000005a0| 6c 61 67 73 03 00 e7 59 | 6f 75 20 63 61 6e 20 64 |lags...Y|ou can d|
|000005b0| 65 76 65 6c 6f 70 20 79 | 6f 75 72 20 61 70 70 6c |evelop y|our appl|
|000005c0| 69 63 61 74 69 6f 6e 20 | 6f 6e 20 74 68 65 20 4d |ication |on the M|
|000005d0| 61 63 69 6e 74 6f 73 68 | 20 70 6c 61 74 66 6f 72 |acintosh| platfor|
|000005e0| 6d 20 61 6e 64 20 63 6f | 6d 70 69 6c 65 20 69 74 |m and co|mpile it|
|000005f0| 20 66 6f 72 20 57 69 6e | 64 6f 77 73 2e 20 49 66 | for Win|dows. If|
|00000600| 20 79 6f 75 72 20 61 70 | 70 6c 69 63 61 74 69 6f | your ap|plicatio|
|00000610| 6e 20 6d 61 79 20 72 75 | 6e 20 6f 6e 20 6f 74 68 |n may ru|n on oth|
|00000620| 65 72 20 6f 70 65 72 61 | 74 69 6e 67 20 73 79 73 |er opera|ting sys|
|00000630| 74 65 6d 73 2c 20 79 6f | 75 20 63 61 6e 20 75 73 |tems, yo|u can us|
|00000640| 65 20 74 68 65 20 66 6f | 6c 6c 6f 77 69 6e 67 20 |e the fo|llowing |
|00000650| 67 6c 6f 62 61 6c 20 42 | 6f 6f 6c 65 61 6e 20 63 |global B|oolean c|
|00000660| 6f 6e 73 74 61 6e 74 73 | 20 74 6f 20 64 65 74 65 |onstants| to dete|
|00000670| 72 6d 69 6e 65 20 74 68 | 65 20 63 75 72 72 65 6e |rmine th|e curren|
|00000680| 74 20 65 6e 76 69 72 6f | 6e 6d 65 6e 74 2e 04 00 |t enviro|nment...|
|00000690| 07 42 6f 6f 6c 65 61 6e | 00 0b 44 65 73 63 72 69 |.Boolean|..Descri|
|000006a0| 70 74 69 6f 6e ff 05 00 | 1a 0e 54 61 72 67 65 74 |ption...|..Target|
|000006b0| 4d 61 63 4f 53 0f 03 54 | 61 72 67 65 74 4d 61 63 |MacOS..T|argetMac|
|000006c0| 4f 53 04 00 37 54 68 65 | 20 63 6f 6d 70 69 6c 65 |OS..7The| compile|
|000006d0| 64 20 61 70 70 6c 69 63 | 61 74 69 6f 6e 20 69 73 |d applic|ation is|
|000006e0| 20 63 75 72 72 65 6e 74 | 6c 79 20 72 75 6e 6e 69 | current|ly runni|
|000006f0| 6e 67 20 6f 6e 20 61 20 | 4d 61 63 2e ff 05 00 1a |ng on a |Mac.....|
|00000700| 0e 54 61 72 67 65 74 57 | 69 6e 33 32 0f 03 54 61 |.TargetW|in32..Ta|
|00000710| 72 67 65 74 57 69 6e 33 | 32 04 00 43 54 68 65 20 |rgetWin3|2..CThe |
|00000720| 63 6f 6d 70 69 6c 65 64 | 20 61 70 70 6c 69 63 61 |compiled| applica|
|00000730| 74 69 6f 6e 20 69 73 20 | 63 75 72 72 65 6e 74 6c |tion is |currentl|
|00000740| 79 20 72 75 6e 6e 69 6e | 67 20 6f 6e 20 61 20 57 |y runnin|g on a W|
|00000750| 69 6e 64 6f 77 73 20 6d | 61 63 68 69 6e 65 2e ff |indows m|achine..|
|00000760| 05 00 18 0e 54 61 72 67 | 65 74 4a 61 76 61 0f 03 |....Targ|etJava..|
|00000770| 54 61 72 67 65 74 4a 61 | 76 61 04 00 77 54 68 65 |TargetJa|va..wThe|
|00000780| 20 63 6f 6d 70 69 6c 65 | 64 20 61 70 70 6c 69 63 | compile|d applic|
|00000790| 61 74 69 6f 6e 20 69 73 | 20 63 75 72 72 65 6e 74 |ation is| current|
|000007a0| 6c 79 20 72 75 6e 6e 69 | 6e 67 20 69 6e 20 61 20 |ly runni|ng in a |
|000007b0| 4a 61 76 61 20 65 6e 76 | 69 72 6f 6e 6d 65 6e 74 |Java env|ironment|
|000007c0| 20 28 54 6f 20 62 65 20 | 61 76 61 69 6c 61 62 6c | (To be |availabl|
|000007d0| 65 20 61 73 20 61 6e 20 | 75 70 64 61 74 65 20 74 |e as an |update t|
|000007e0| 6f 20 76 32 2e 30 20 6f | 66 20 52 45 41 4c 62 61 |o v2.0 o|f REALba|
|000007f0| 73 69 63 29 ff 05 00 18 | 0e 44 65 62 75 67 42 75 |sic)....|.DebugBu|
|00000800| 69 6c 64 0f 03 44 65 62 | 75 67 42 75 69 6c 64 04 |ild..Deb|ugBuild.|
|00000810| 00 5d 54 68 65 20 61 70 | 70 6c 69 63 61 74 69 6f |.]The ap|plicatio|
|00000820| 6e 20 69 73 20 72 75 6e | 6e 69 6e 67 20 77 69 74 |n is run|ning wit|
|00000830| 68 69 6e 20 74 68 65 20 | 52 45 41 4c 62 61 73 69 |hin the |REALbasi|
|00000840| 63 20 61 70 70 6c 69 63 | 61 74 69 6f 6e 2c 20 69 |c applic|ation, i|
|00000850| 2e 65 2e 2c 20 66 72 6f | 6d 20 63 68 6f 6f 73 69 |.e., fro|m choosi|
|00000860| 6e 67 20 44 65 62 75 67 | 20 2e 20 52 75 6e 2e ff |ng Debug| . Run..|
|00000870| 02 00 17 43 6f 6e 64 69 | 74 69 6f 6e 61 6c 20 43 |...Condi|tional C|
|00000880| 6f 6d 70 69 6c 61 74 69 | 6f 6e 03 00 f3 49 66 20 |ompilati|on...If |
|00000890| 73 6f 6d 65 20 6f 66 20 | 79 6f 75 72 20 63 6f 64 |some of |your cod|
|000008a0| 65 20 73 68 6f 75 6c 64 | 20 62 65 20 63 6f 6d 70 |e should| be comp|
|000008b0| 69 6c 65 64 20 6f 6e 6c | 79 20 66 6f 72 20 61 20 |iled onl|y for a |
|000008c0| 70 61 72 74 69 63 75 6c | 61 72 20 74 61 72 67 65 |particul|ar targe|
|000008d0| 74 20 70 6c 61 74 66 6f | 72 6d 20 28 73 75 63 68 |t platfo|rm (such|
|000008e0| 20 61 73 20 41 70 70 6c | 65 53 63 72 69 70 74 2d | as Appl|eScript-|
|000008f0| 73 70 65 63 69 66 69 63 | 20 63 6f 64 65 20 6f 72 |specific| code or|
|00000900| 20 74 6f 6f 6c 62 6f 78 | 20 63 61 6c 6c 73 29 2c | toolbox| calls),|
|00000910| 20 79 6f 75 20 63 61 6e | 20 75 73 65 20 23 49 66 | you can| use #If|
|00000920| 20 73 74 61 74 65 6d 65 | 6e 74 73 20 74 6f 20 63 | stateme|nts to c|
|00000930| 6f 6d 70 69 6c 65 20 74 | 68 61 74 20 63 6f 64 65 |ompile t|hat code|
|00000940| 20 6f 6e 6c 79 20 66 6f | 72 20 74 68 65 20 61 70 | only fo|r the ap|
|00000950| 70 72 6f 70 72 69 61 74 | 65 20 70 6c 61 74 66 6f |propriat|e platfo|
|00000960| 72 6d 2e 20 55 73 65 20 | 74 68 65 20 66 6f 6c 6c |rm. Use |the foll|
|00000970| 6f 77 69 6e 67 20 73 74 | 72 75 63 74 75 72 65 3a |owing st|ructure:|
|00000980| 06 00 17 23 49 66 20 54 | 61 72 67 65 74 42 6f 6f |...#If T|argetBoo|
|00000990| 6c 65 61 6e 20 74 68 65 | 6e 20 06 00 18 2f 2f 50 |lean the|n ...//P|
|000009a0| 6c 61 74 66 6f 72 6d 2d | 73 70 65 63 69 66 69 63 |latform-|specific|
|000009b0| 20 63 6f 64 65 06 00 05 | 23 45 6c 73 65 06 00 1e | code...|#Else...|
|000009c0| 2f 2f 4f 74 68 65 72 20 | 70 6c 61 74 66 6f 72 6d |//Other |platform|
|000009d0| 2d 73 70 65 63 69 66 69 | 63 20 63 6f 64 65 06 00 |-specifi|c code..|
|000009e0| 06 23 45 6e 64 69 66 03 | 00 12 4c 61 6e 67 75 61 |.#Endif.|..Langua|
|000009f0| 67 65 20 52 65 66 65 72 | 65 6e 63 65 03 00 5d 54 |ge Refer|ence..]T|
|00000a00| 68 65 20 66 6f 6c 6c 6f | 77 69 6e 67 20 69 73 20 |he follo|wing is |
|00000a10| 61 6e 20 61 6c 70 68 61 | 62 65 74 69 63 61 6c 20 |an alpha|betical |
|00000a20| 6c 69 73 74 69 6e 67 20 | 6f 66 20 74 68 65 20 63 |listing |of the c|
|00000a30| 6f 6d 6d 61 6e 64 73 20 | 61 76 61 69 6c 61 62 6c |ommands |availabl|
|00000a40| 65 20 69 6e 20 74 68 65 | 20 52 45 41 4c 62 61 73 |e in the| REALbas|
|00000a50| 69 63 20 6c 61 6e 67 75 | 61 67 65 2e 0d 00 01 26 |ic langu|age....&|
|00000a60| 0c 00 0b 4f 70 65 72 61 | 74 6f 72 73 3a 26 0d 00 |...Opera|tors:&..|
|00000a70| 02 20 26 0d 00 01 26 0c | 00 0b 4f 70 65 72 61 74 |. &...&.|..Operat|
|00000a80| 6f 72 73 3a 26 01 00 0a | 26 20 4f 70 65 72 61 74 |ors:&...|& Operat|
|00000a90| 6f 72 03 00 3b 55 73 65 | 64 20 74 6f 20 72 65 70 |or..;Use|d to rep|
|00000aa0| 72 65 73 65 6e 74 20 68 | 65 78 61 64 65 63 69 6d |resent h|exadecim|
|00000ab0| 61 6c 2c 20 6f 63 74 61 | 6c 2c 20 61 6e 64 20 62 |al, octa|l, and b|
|00000ac0| 69 6e 61 72 79 20 63 6f | 6e 73 74 61 6e 74 73 2e |inary co|nstants.|
|00000ad0| 02 00 06 53 79 6e 74 61 | 78 03 00 21 26 68 20 70 |...Synta|x..!&h p|
|00000ae0| 72 65 66 69 78 20 66 6f | 72 20 68 65 78 61 64 65 |refix fo|r hexade|
|00000af0| 63 69 6d 61 6c 20 6e 75 | 6d 62 65 72 73 03 00 1b |cimal nu|mbers...|
|00000b00| 26 6f 20 70 72 65 66 69 | 78 20 66 6f 72 20 6f 63 |&o prefi|x for oc|
|00000b10| 74 61 6c 20 6e 75 6d 62 | 65 72 73 03 00 15 26 62 |tal numb|ers...&b|
|00000b20| 20 66 6f 72 20 62 69 6e | 61 72 79 20 6e 75 6d 62 | for bin|ary numb|
|00000b30| 65 72 73 02 00 08 45 78 | 61 6d 70 6c 65 73 03 00 |ers...Ex|amples..|
|00000b40| 2a 54 68 69 73 20 65 78 | 61 6d 70 6c 65 20 73 68 |*This ex|ample sh|
|00000b50| 6f 77 73 20 61 20 68 65 | 78 61 64 65 63 69 6d 61 |ows a he|xadecima|
|00000b60| 6c 20 63 6f 6e 73 74 61 | 6e 74 3a 07 00 04 26 68 |l consta|nt:...&h|
|00000b70| 41 34 03 00 25 54 68 69 | 73 20 65 78 61 6d 70 6c |A4..%Thi|s exampl|
|00000b80| 65 20 73 68 6f 77 73 20 | 61 6e 20 6f 63 74 61 6c |e shows |an octal|
|00000b90| 20 63 6f 6e 73 74 61 6e | 74 3a 07 00 05 26 6f 35 | constan|t:...&o5|
|00000ba0| 32 37 03 00 25 54 68 69 | 73 20 65 78 61 6d 70 6c |27..%Thi|s exampl|
|00000bb0| 65 20 73 68 6f 77 73 20 | 61 20 62 69 6e 61 72 79 |e shows |a binary|
|00000bc0| 20 63 6f 6e 73 74 61 6e | 74 3a 07 00 0a 26 62 31 | constan|t:...&b1|
|00000bd0| 30 30 31 30 31 30 31 0c | 00 0b 4f 70 65 72 61 74 |0010101.|..Operat|
|00000be0| 6f 72 73 3a 2b 01 00 0a | 2b 20 4f 70 65 72 61 74 |ors:+...|+ Operat|
|00000bf0| 6f 72 03 00 39 55 73 65 | 64 20 74 6f 20 73 75 6d |or..9Use|d to sum|
|00000c00| 20 74 77 6f 20 6e 75 6d | 62 65 72 73 20 6f 72 20 | two num|bers or |
|00000c10| 63 6f 6e 63 61 74 65 6e | 61 74 65 20 74 77 6f 20 |concaten|ate two |
|00000c20| 73 74 72 69 6e 67 20 76 | 61 6c 75 65 73 2e 02 00 |string v|alues...|
|00000c30| 06 53 79 6e 74 61 78 03 | 00 22 54 68 65 20 01 2b |.Syntax.|."The .+|
|00000c40| 02 20 6f 70 65 72 61 74 | 6f 72 20 68 61 73 20 74 |. operat|or has t|
|00000c50| 77 6f 20 73 79 6e 74 61 | 78 65 73 3a 03 00 22 72 |wo synta|xes:.."r|
|00000c60| 65 73 75 6c 74 3d 65 78 | 70 72 65 73 73 69 6f 6e |esult=ex|pression|
|00000c70| 31 20 01 2b 02 20 65 78 | 70 72 65 73 73 69 6f 6e |1 .+. ex|pression|
|00000c80| 32 04 00 04 50 61 72 74 | 00 04 54 79 70 65 00 0b |2...Part|..Type..|
|00000c90| 44 65 73 63 72 69 70 74 | 69 6f 6e ff 05 00 06 72 |Descript|ion....r|
|00000ca0| 65 73 75 6c 74 00 06 4e | 75 6d 62 65 72 00 27 54 |esult..N|umber.'T|
|00000cb0| 68 65 20 73 75 6d 20 6f | 66 20 65 78 70 72 65 73 |he sum o|f expres|
|00000cc0| 73 69 6f 6e 31 20 61 6e | 64 20 65 78 70 72 65 73 |sion1 an|d expres|
|00000cd0| 73 69 6f 6e 32 2e ff 05 | 00 0b 65 78 70 72 65 73 |sion2...|..expres|
|00000ce0| 73 69 6f 6e 31 00 06 4e | 75 6d 62 65 72 00 17 41 |sion1..N|umber..A|
|00000cf0| 6e 79 20 6e 75 6d 65 72 | 69 63 20 65 78 70 72 65 |ny numer|ic expre|
|00000d00| 73 73 69 6f 6e 2e ff 05 | 00 0b 65 78 70 72 65 73 |ssion...|..expres|
|00000d10| 73 69 6f 6e 32 00 06 4e | 75 6d 62 65 72 00 17 41 |sion2..N|umber..A|
|00000d20| 6e 79 20 6e 75 6d 65 72 | 69 63 20 65 78 70 72 65 |ny numer|ic expre|
|00000d30| 73 73 69 6f 6e 2e ff 03 | 00 22 72 65 73 75 6c 74 |ssion...|."result|
|00000d40| 3d 65 78 70 72 65 73 73 | 69 6f 6e 31 20 01 2b 02 |=express|ion1 .+.|
|00000d50| 20 65 78 70 72 65 73 73 | 69 6f 6e 32 04 00 04 50 | express|ion2...P|
|00000d60| 61 72 74 00 04 54 79 70 | 65 00 0b 44 65 73 63 72 |art..Typ|e..Descr|
|00000d70| 69 70 74 69 6f 6e ff 05 | 00 06 72 65 73 75 6c 74 |iption..|..result|
|00000d80| 00 06 53 74 72 69 6e 67 | 00 31 54 68 65 20 63 6f |..String|.1The co|
|00000d90| 6e 63 61 74 65 6e 61 74 | 69 6f 6e 20 6f 66 20 65 |ncatenat|ion of e|
|00000da0| 78 70 72 65 73 73 69 6f | 6e 31 20 61 6e 64 20 65 |xpressio|n1 and e|
|00000db0| 78 70 72 65 73 73 69 6f | 6e 32 2e ff 05 00 0b 65 |xpressio|n2.....e|
|00000dc0| 78 70 72 65 73 73 69 6f | 6e 31 00 06 53 74 72 69 |xpressio|n1..Stri|
|00000dd0| 6e 67 00 16 41 6e 79 20 | 73 74 72 69 6e 67 20 65 |ng..Any |string e|
|00000de0| 78 70 72 65 73 73 69 6f | 6e 2e ff 05 00 0b 65 78 |xpressio|n.....ex|
|00000df0| 70 72 65 73 73 69 6f 6e | 32 00 06 53 74 72 69 6e |pression|2..Strin|
|00000e00| 67 00 16 41 6e 79 20 73 | 74 72 69 6e 67 20 65 78 |g..Any s|tring ex|
|00000e10| 70 72 65 73 73 69 6f 6e | 2e ff 02 00 08 45 78 61 |pression|.....Exa|
|00000e20| 6d 70 6c 65 73 03 00 2c | 54 68 69 73 20 65 78 61 |mples..,|This exa|
|00000e30| 6d 70 6c 65 73 20 61 64 | 64 73 20 73 65 76 65 72 |mples ad|ds sever|
|00000e40| 61 6c 20 6e 75 6d 62 65 | 72 73 20 74 6f 67 65 74 |al numbe|rs toget|
|00000e50| 68 65 72 3a 06 00 1c 0e | 44 69 6d 0f 0e 44 69 6d |her:....|Dim..Dim|
|00000e60| 0f 03 44 69 6d 04 20 78 | 20 61 73 20 49 6e 74 65 |..Dim. x| as Inte|
|00000e70| 67 65 72 07 00 07 78 3d | 31 2b 32 2b 33 03 00 4a |ger...x=|1+2+3..J|
|00000e80| 54 68 69 73 20 65 78 61 | 6d 70 6c 65 20 63 6f 6e |This exa|mple con|
|00000e90| 63 61 74 65 6e 61 74 65 | 73 20 74 77 6f 20 73 74 |catenate|s two st|
|00000ea0| 72 69 6e 67 73 20 61 6e | 64 20 73 74 6f 72 65 73 |rings an|d stores|
|00000eb0| 20 74 68 65 20 72 65 73 | 75 6c 74 20 69 6e 20 61 | the res|ult in a|
|00000ec0| 20 76 61 72 69 61 62 6c | 65 3a 06 00 19 0e 44 69 | variabl|e:....Di|
|00000ed0| 6d 0f 03 44 69 6d 04 20 | 6e 61 6d 65 20 61 73 20 |m..Dim. |name as |
|00000ee0| 53 74 72 69 6e 67 07 00 | 26 6e 61 6d 65 3d 22 52 |String..|&name="R|
|00000ef0| 45 41 4c 22 2b 22 62 61 | 73 69 63 22 20 2f 2f 6e |EAL"+"ba|sic" //n|
|00000f00| 61 6d 65 20 3d 20 52 45 | 41 4c 62 61 73 69 63 0c |ame = RE|ALbasic.|
|00000f10| 00 0b 4f 70 65 72 61 74 | 6f 72 73 3a 2d 01 00 0a |..Operat|ors:-...|
|00000f20| 2d 20 4f 70 65 72 61 74 | 6f 72 03 00 30 55 73 65 |- Operat|or..0Use|
|00000f30| 64 20 74 6f 20 66 69 6e | 64 20 74 68 65 20 64 69 |d to fin|d the di|
|00000f40| 66 66 65 72 65 6e 63 65 | 20 62 65 74 77 65 65 6e |fference| between|
|00000f50| 20 74 77 6f 20 6e 75 6d | 62 65 72 73 2e 02 00 06 | two num|bers....|
|00000f60| 53 79 6e 74 61 78 03 00 | 22 72 65 73 75 6c 74 3d |Syntax..|"result=|
|00000f70| 65 78 70 72 65 73 73 69 | 6f 6e 31 20 01 2d 02 20 |expressi|on1 .-. |
|00000f80| 65 78 70 72 65 73 73 69 | 6f 6e 32 04 00 04 50 61 |expressi|on2...Pa|
|00000f90| 72 74 00 04 54 79 70 65 | 00 0b 44 65 73 63 72 69 |rt..Type|..Descri|
|00000fa0| 70 74 69 6f 6e ff 05 00 | 06 72 65 73 75 6c 74 00 |ption...|.result.|
|00000fb0| 06 4e 75 6d 62 65 72 00 | 33 54 68 65 20 64 69 66 |.Number.|3The dif|
|00000fc0| 66 65 72 65 6e 63 65 20 | 62 65 74 77 65 65 6e 20 |ference |between |
|00000fd0| 65 78 70 72 65 73 73 69 | 6f 6e 31 20 61 6e 64 20 |expressi|on1 and |
|00000fe0| 65 78 70 72 65 73 73 69 | 6f 6e 32 2e ff 05 00 0b |expressi|on2.....|
|00000ff0| 65 78 70 72 65 73 73 69 | 6f 6e 31 00 06 4e 75 6d |expressi|on1..Num|
|00001000| 62 65 72 00 17 41 6e 79 | 20 6e 75 6d 65 72 69 63 |ber..Any| numeric|
|00001010| 20 65 78 70 72 65 73 73 | 69 6f 6e 2e ff 05 00 0b | express|ion.....|
|00001020| 65 78 70 72 65 73 73 69 | 6f 6e 32 00 06 4e 75 6d |expressi|on2..Num|
|00001030| 62 65 72 00 17 41 6e 79 | 20 6e 75 6d 65 72 69 63 |ber..Any| numeric|
|00001040| 20 65 78 70 72 65 73 73 | 69 6f 6e 2e ff 02 00 08 | express|ion.....|
|00001050| 45 78 61 6d 70 6c 65 73 | 03 00 45 54 68 69 73 20 |Examples|..EThis |
|00001060| 65 78 61 6d 70 6c 65 20 | 73 74 6f 72 65 73 20 74 |example |stores t|
|00001070| 68 65 20 64 69 66 66 65 | 72 65 6e 63 65 20 62 65 |he diffe|rence be|
|00001080| 74 77 65 65 6e 20 74 77 | 6f 20 6e 75 6d 62 65 72 |tween tw|o number|
|00001090| 73 20 69 6e 20 61 20 76 | 61 72 69 61 62 6c 65 3a |s in a v|ariable:|
|000010a0| 06 00 17 0e 44 69 6d 0f | 03 44 69 6d 04 20 78 20 |....Dim.|.Dim. x |
|000010b0| 61 73 20 49 6e 74 65 67 | 65 72 07 00 13 78 3d 35 |as Integ|er...x=5|
|000010c0| 30 2d 33 30 20 20 20 2f | 2f 78 20 69 73 20 32 30 |0-30 /|/x is 20|
|000010d0| 0c 00 0b 4f 70 65 72 61 | 74 6f 72 73 3a 2a 01 00 |...Opera|tors:*..|
|000010e0| 0a 2a 20 4f 70 65 72 61 | 74 6f 72 03 00 1d 55 73 |.* Opera|tor...Us|
|000010f0| 65 64 20 74 6f 20 6d 75 | 6c 74 69 70 6c 79 20 74 |ed to mu|ltiply t|
|00001100| 77 6f 20 6e 75 6d 62 65 | 72 73 2e 02 00 06 53 79 |wo numbe|rs....Sy|
|00001110| 6e 74 61 78 03 00 22 72 | 65 73 75 6c 74 3d 65 78 |ntax.."r|esult=ex|
|00001120| 70 72 65 73 73 69 6f 6e | 31 20 01 2a 02 20 65 78 |pression|1 .*. ex|
|00001130| 70 72 65 73 73 69 6f 6e | 32 04 00 04 50 61 72 74 |pression|2...Part|
|00001140| 00 04 54 79 70 65 00 0b | 44 65 73 63 72 69 70 74 |..Type..|Descript|
|00001150| 69 6f 6e ff 05 00 06 72 | 65 73 75 6c 74 00 06 4e |ion....r|esult..N|
|00001160| 75 6d 62 65 72 00 32 54 | 68 65 20 6d 75 6c 74 69 |umber.2T|he multi|
|00001170| 70 6c 69 63 61 74 69 6f | 6e 20 6f 66 20 65 78 70 |plicatio|n of exp|
|00001180| 72 65 73 73 69 6f 6e 31 | 20 61 6e 64 20 65 78 70 |ression1| and exp|
|00001190| 72 65 73 73 69 6f 6e 32 | 2e ff 05 00 0b 65 78 70 |ression2|.....exp|
|000011a0| 72 65 73 73 69 6f 6e 31 | 00 06 4e 75 6d 62 65 72 |ression1|..Number|
|000011b0| 00 17 41 6e 79 20 6e 75 | 6d 65 72 69 63 20 65 78 |..Any nu|meric ex|
|000011c0| 70 72 65 73 73 69 6f 6e | 2e ff 05 00 0b 65 78 70 |pression|.....exp|
|000011d0| 72 65 73 73 69 6f 6e 32 | 00 06 4e 75 6d 62 65 72 |ression2|..Number|
|000011e0| 00 17 41 6e 79 20 6e 75 | 6d 65 72 69 63 20 65 78 |..Any nu|meric ex|
|000011f0| 70 72 65 73 73 69 6f 6e | 2e ff 02 00 08 45 78 61 |pression|.....Exa|
|00001200| 6d 70 6c 65 73 03 00 44 | 54 68 69 73 20 65 78 61 |mples..D|This exa|
|00001210| 6d 70 6c 65 20 73 74 6f | 72 65 73 20 74 68 65 20 |mple sto|res the |
|00001220| 6d 75 6c 74 69 70 6c 69 | 63 61 74 69 6f 6e 20 6f |multipli|cation o|
|00001230| 66 20 74 77 6f 20 6e 75 | 6d 62 65 72 73 20 69 6e |f two nu|mbers in|
|00001240| 20 61 20 76 61 72 69 61 | 62 6c 65 3a 06 00 17 0e | a varia|ble:....|
|00001250| 44 69 6d 0f 03 44 69 6d | 04 20 78 20 61 73 20 49 |Dim..Dim|. x as I|
|00001260| 6e 74 65 67 65 72 07 00 | 15 78 3d 35 30 2a 33 30 |nteger..|.x=50*30|
|00001270| 20 20 20 2f 2f 78 20 69 | 73 20 31 35 30 30 0c 00 | //x i|s 1500..|
|00001280| 0b 4f 70 65 72 61 74 6f | 72 73 3a 2f 01 00 0a 2f |.Operato|rs:/.../|
|00001290| 20 4f 70 65 72 61 74 6f | 72 03 00 3c 55 73 65 64 | Operato|r..<Used|
|000012a0| 20 74 6f 20 70 65 72 66 | 6f 72 6d 20 66 6c 6f 61 | to perf|orm floa|
|000012b0| 74 69 6e 67 20 70 6f 69 | 6e 74 20 64 69 76 69 73 |ting poi|nt divis|
|000012c0| 69 6f 6e 20 62 65 74 77 | 65 65 6e 20 74 77 6f 20 |ion betw|een two |
|000012d0| 6e 75 6d 62 65 72 73 2e | 03 00 06 53 79 6e 74 61 |numbers.|...Synta|
|000012e0| 78 03 00 22 72 65 73 75 | 6c 74 3d 65 78 70 72 65 |x.."resu|lt=expre|
|000012f0| 73 73 69 6f 6e 31 20 01 | 2f 02 20 65 78 70 72 65 |ssion1 .|/. expre|
|00001300| 73 73 69 6f 6e 32 04 00 | 04 50 61 72 74 00 04 54 |ssion2..|.Part..T|
|00001310| 79 70 65 00 0b 44 65 73 | 63 72 69 70 74 69 6f 6e |ype..Des|cription|
|00001320| ff 05 00 06 72 65 73 75 | 6c 74 00 06 4e 75 6d 62 |....resu|lt..Numb|
|00001330| 65 72 00 2c 54 68 65 20 | 64 69 76 69 73 69 6f 6e |er.,The |division|
|00001340| 20 6f 66 20 65 78 70 72 | 65 73 73 69 6f 6e 31 20 | of expr|ession1 |
|00001350| 61 6e 64 20 65 78 70 72 | 65 73 73 69 6f 6e 32 2e |and expr|ession2.|
|00001360| ff 05 00 0b 65 78 70 72 | 65 73 73 69 6f 6e 31 00 |....expr|ession1.|
|00001370| 06 4e 75 6d 62 65 72 00 | 17 41 6e 79 20 6e 75 6d |.Number.|.Any num|
|00001380| 65 72 69 63 20 65 78 70 | 72 65 73 73 69 6f 6e 2e |eric exp|ression.|
|00001390| ff 05 00 0b 65 78 70 72 | 65 73 73 69 6f 6e 32 00 |....expr|ession2.|
|000013a0| 06 4e 75 6d 62 65 72 00 | 17 41 6e 79 20 6e 75 6d |.Number.|.Any num|
|000013b0| 65 72 69 63 20 65 78 70 | 72 65 73 73 69 6f 6e 2e |eric exp|ression.|
|000013c0| ff 02 00 05 4e 6f 74 65 | 73 03 00 62 55 73 65 20 |....Note|s..bUse |
|000013d0| 74 68 69 73 20 6f 70 65 | 72 61 74 6f 72 20 77 68 |this ope|rator wh|
|000013e0| 65 6e 20 79 6f 75 20 72 | 65 71 75 69 72 65 20 64 |en you r|equire d|
|000013f0| 69 76 69 73 69 6f 6e 20 | 74 68 61 74 20 63 6f 6e |ivision |that con|
|00001400| 73 69 64 65 72 73 20 74 | 68 65 20 64 65 63 69 6d |siders t|he decim|
|00001410| 61 6c 20 70 6f 72 74 69 | 6f 6e 20 6f 66 20 74 68 |al porti|on of th|
|00001420| 65 20 65 78 70 72 65 73 | 73 69 6f 6e 73 2e 02 00 |e expres|sions...|
|00001430| 08 45 78 61 6d 70 6c 65 | 73 03 00 3e 54 68 69 73 |.Example|s..>This|
|00001440| 20 65 78 61 6d 70 6c 65 | 20 73 74 6f 72 65 73 20 | example| stores |
|00001450| 74 68 65 20 64 69 76 69 | 73 69 6f 6e 20 6f 66 20 |the divi|sion of |
|00001460| 74 77 6f 20 6e 75 6d 62 | 65 72 73 20 69 6e 20 61 |two numb|ers in a|
|00001470| 20 76 61 72 69 61 62 6c | 65 3a 06 00 16 0e 44 69 | variabl|e:....Di|
|00001480| 6d 0f 03 44 69 6d 04 20 | 78 20 61 73 20 44 6f 75 |m..Dim. |x as Dou|
|00001490| 62 6c 65 07 00 20 78 3d | 35 30 2e 35 36 2f 33 30 |ble.. x=|50.56/30|
|000014a0| 2e 33 34 20 20 20 2f 2f | 78 20 69 73 20 31 2e 36 |.34 //|x is 1.6|
|000014b0| 36 36 34 34 36 39 0d 00 | 01 5c 0c 00 0c 4f 70 65 |664469..|.\...Ope|
|000014c0| 72 61 74 6f 72 73 3a 5c | 5c 01 00 0a 5c 20 4f 70 |rators:\|\...\ Op|
|000014d0| 65 72 61 74 6f 72 03 00 | 35 55 73 65 64 20 74 6f |erator..|5Used to|
|000014e0| 20 70 65 72 66 6f 72 6d | 20 69 6e 74 65 67 65 72 | perform| integer|
|000014f0| 20 64 69 76 69 73 69 6f | 6e 20 62 65 74 77 65 65 | divisio|n betwee|
|00001500| 6e 20 74 77 6f 20 6e 75 | 6d 62 65 72 73 2e 03 00 |n two nu|mbers...|
|00001510| 06 53 79 6e 74 61 78 03 | 00 22 72 65 73 75 6c 74 |.Syntax.|."result|
|00001520| 3d 65 78 70 72 65 73 73 | 69 6f 6e 31 20 01 5c 02 |=express|ion1 .\.|
|00001530| 20 65 78 70 72 65 73 73 | 69 6f 6e 32 04 00 04 50 | express|ion2...P|
|00001540| 61 72 74 00 04 54 79 70 | 65 00 0b 44 65 73 63 72 |art..Typ|e..Descr|
|00001550| 69 70 74 69 6f 6e ff 05 | 00 06 72 65 73 75 6c 74 |iption..|..result|
|00001560| 00 06 4e 75 6d 62 65 72 | 00 34 54 68 65 20 69 6e |..Number|.4The in|
|00001570| 74 65 67 65 72 20 64 69 | 76 69 73 69 6f 6e 20 6f |teger di|vision o|
|00001580| 66 20 65 78 70 72 65 73 | 73 69 6f 6e 31 20 61 6e |f expres|sion1 an|
|00001590| 64 20 65 78 70 72 65 73 | 73 69 6f 6e 32 2e ff 05 |d expres|sion2...|
|000015a0| 00 0b 65 78 70 72 65 73 | 73 69 6f 6e 31 00 06 4e |..expres|sion1..N|
|000015b0| 75 6d 62 65 72 00 17 41 | 6e 79 20 6e 75 6d 65 72 |umber..A|ny numer|
|000015c0| 69 63 20 65 78 70 72 65 | 73 73 69 6f 6e 2e ff 05 |ic expre|ssion...|
|000015d0| 00 0b 65 78 70 72 65 73 | 73 69 6f 6e 32 00 06 4e |..expres|sion2..N|
|000015e0| 75 6d 62 65 72 00 17 41 | 6e 79 20 6e 75 6d 65 72 |umber..A|ny numer|
|000015f0| 69 63 20 65 78 70 72 65 | 73 73 69 6f 6e 2e ff 02 |ic expre|ssion...|
|00001600| 00 05 4e 6f 74 65 73 03 | 00 6a 55 73 65 20 74 68 |..Notes.|.jUse th|
|00001610| 69 73 20 6f 70 65 72 61 | 74 6f 72 20 77 68 65 6e |is opera|tor when|
|00001620| 20 79 6f 75 20 72 65 71 | 75 69 72 65 20 64 69 76 | you req|uire div|
|00001630| 69 73 69 6f 6e 20 74 68 | 61 74 20 64 6f 65 73 20 |ision th|at does |
|00001640| 6e 6f 74 20 63 6f 6e 73 | 69 64 65 72 20 74 68 65 |not cons|ider the|
|00001650| 20 64 65 63 69 6d 61 6c | 20 70 6f 72 74 69 6f 6e | decimal| portion|
|00001660| 20 6f 66 20 74 68 65 20 | 65 78 70 72 65 73 73 69 | of the |expressi|
|00001670| 6f 6e 73 2e 02 00 08 45 | 78 61 6d 70 6c 65 73 03 |ons....E|xamples.|
|00001680| 00 3e 54 68 69 73 20 65 | 78 61 6d 70 6c 65 20 73 |.>This e|xample s|
|00001690| 74 6f 72 65 73 20 74 68 | 65 20 64 69 76 69 73 69 |tores th|e divisi|
|000016a0| 6f 6e 20 6f 66 20 74 77 | 6f 20 6e 75 6d 62 65 72 |on of tw|o number|
|000016b0| 73 20 69 6e 20 61 20 76 | 61 72 69 61 62 6c 65 3a |s in a v|ariable:|
|000016c0| 06 00 17 0e 44 69 6d 0f | 03 44 69 6d 04 20 78 20 |....Dim.|.Dim. x |
|000016d0| 61 73 20 49 6e 74 65 67 | 65 72 07 00 18 78 3d 35 |as Integ|er...x=5|
|000016e0| 30 2e 35 36 5c 33 30 2e | 33 34 20 20 20 2f 2f 78 |0.56\30.|34 //x|
|000016f0| 20 69 73 20 31 0c 00 34 | 43 6f 64 65 20 45 78 65 | is 1..4|Code Exe|
|00001700| 63 75 74 69 6f 6e 3a 23 | 49 66 20 c9 23 45 6c 73 |cution:#|If .#Els|
|00001710| 65 c9 23 45 6e 64 69 66 | 3b 4f 53 3a 23 49 66 c9 |e.#Endif|;OS:#If.|
|00001720| 23 45 6c 73 65 c9 23 45 | 6e 64 69 66 0d 00 10 23 |#Else.#E|ndif...#|
|00001730| 49 66 c9 23 45 6c 73 65 | c9 23 45 6e 64 69 66 01 |If.#Else|.#Endif.|
|00001740| 00 1b 23 49 66 20 c9 23 | 45 6c 73 65 c9 23 45 6e |..#If .#|Else.#En|
|00001750| 64 69 66 20 53 74 61 74 | 65 6d 65 6e 74 03 00 28 |dif Stat|ement..(|
|00001760| 55 73 65 20 74 6f 20 63 | 6f 6e 74 72 6f 6c 20 63 |Use to c|ontrol c|
|00001770| 6f 6e 64 69 74 69 6f 6e | 61 6c 20 63 6f 6d 70 69 |ondition|al compi|
|00001780| 6c 61 74 69 6f 6e 2e 20 | 02 00 06 53 79 6e 74 61 |lation. |...Synta|
|00001790| 78 03 00 1a 01 23 49 66 | 02 20 54 61 72 67 65 74 |x....#If|. Target|
|000017a0| 42 6f 6f 6c 65 61 6e 20 | 01 54 68 65 6e 02 03 00 |Boolean |.Then...|
|000017b0| 18 2f 2f 50 6c 61 74 66 | 6f 72 6d 20 73 70 65 63 |.//Platf|orm spec|
|000017c0| 69 66 69 63 20 63 6f 64 | 65 03 00 07 01 23 45 6c |ific cod|e....#El|
|000017d0| 73 65 02 03 00 1e 2f 2f | 4f 74 68 65 72 20 50 6c |se....//|Other Pl|
|000017e0| 61 74 66 6f 72 6d 2d 73 | 70 65 63 69 66 69 63 20 |atform-s|pecific |
|000017f0| 63 6f 64 65 03 00 08 01 | 23 45 6e 64 69 66 02 04 |code....|#Endif..|
|00001800| 00 04 50 61 72 74 00 04 | 54 79 70 65 00 0b 44 65 |..Part..|Type..De|
|00001810| 73 63 72 69 70 74 69 6f | 6e ff 05 00 0d 54 61 72 |scriptio|n....Tar|
|00001820| 67 65 74 42 6f 6f 6c 65 | 61 6e 00 10 42 6f 6f 6c |getBoole|an..Bool|
|00001830| 65 61 6e 20 43 6f 6e 73 | 74 61 6e 74 00 ac 0e 54 |ean Cons|tant...T|
|00001840| 61 72 67 65 74 4d 61 63 | 4f 53 0f 03 54 61 72 67 |argetMac|OS..Targ|
|00001850| 65 74 4d 61 63 4f 53 04 | 2c 20 0e 54 61 72 67 65 |etMacOS.|, .Targe|
|00001860| 74 57 69 6e 33 32 0f 03 | 54 61 72 67 65 74 57 69 |tWin32..|TargetWi|
|00001870| 6e 33 32 04 2c 20 0e 54 | 61 72 67 65 74 4a 61 76 |n32., .T|argetJav|
|00001880| 61 0f 03 54 61 72 67 65 | 74 4a 61 76 61 04 2c 20 |a..Targe|tJava., |
|00001890| 6f 72 20 0e 44 65 62 75 | 67 42 75 69 6c 64 0f 03 |or .Debu|gBuild..|
|000018a0| 44 65 62 75 67 42 75 69 | 6c 64 04 20 63 6f 6e 73 |DebugBui|ld. cons|
|000018b0| 74 61 6e 74 2c 20 75 73 | 65 64 20 74 6f 20 64 65 |tant, us|ed to de|
|000018c0| 74 65 72 6d 69 6e 65 20 | 74 68 65 20 63 75 72 72 |termine |the curr|
|000018d0| 65 6e 74 20 6f 70 65 72 | 61 74 69 6e 67 20 65 6e |ent oper|ating en|
|000018e0| 76 69 72 6f 6e 6d 65 6e | 74 2e ff 02 00 05 4e 6f |vironmen|t.....No|
|000018f0| 74 65 73 03 00 71 55 73 | 65 20 63 6f 6e 64 69 74 |tes..qUs|e condit|
|00001900| 69 6f 6e 61 6c 20 63 6f | 6d 70 69 6c 61 74 69 6f |ional co|mpilatio|
|00001910| 6e 20 74 6f 20 69 73 6f | 6c 61 74 65 20 70 6c 61 |n to iso|late pla|
|00001920| 74 66 6f 72 6d 2d 73 70 | 65 63 69 66 69 63 20 73 |tform-sp|ecific s|
|00001930| 74 61 74 65 6d 65 6e 74 | 73 20 73 75 63 68 20 61 |tatement|s such a|
|00001940| 73 20 74 6f 6f 6c 62 6f | 78 20 63 61 6c 6c 73 20 |s toolbo|x calls |
|00001950| 6f 72 20 41 70 70 6c 65 | 45 76 65 6e 74 20 72 6f |or Apple|Event ro|
|00001960| 75 74 69 6e 65 73 2e 02 | 00 08 53 65 65 20 41 6c |utines..|..See Al|
|00001970| 73 6f 03 00 3d 0e 44 65 | 63 6c 61 72 65 0f 03 44 |so..=.De|clare..D|
|00001980| 65 63 6c 61 72 65 04 20 | 73 74 61 74 65 6d 65 6e |eclare. |statemen|
|00001990| 74 2c 20 0e 41 70 70 6c | 65 45 76 65 6e 74 0f 03 |t, .Appl|eEvent..|
|000019a0| 41 70 70 6c 65 45 76 65 | 6e 74 04 20 63 6c 61 73 |AppleEve|nt. clas|
|000019b0| 73 2e 0d 00 07 23 50 72 | 61 67 6d 61 0c 00 20 43 |s....#Pr|agma.. C|
|000019c0| 6f 64 65 20 45 78 65 63 | 75 74 69 6f 6e 3a 50 72 |ode Exec|ution:Pr|
|000019d0| 61 67 6d 61 20 44 69 72 | 65 63 74 69 76 65 73 01 |agma Dir|ectives.|
|000019e0| 00 12 23 50 72 61 67 6d | 61 20 44 69 72 65 63 74 |..#Pragm|a Direct|
|000019f0| 69 76 65 73 03 01 04 55 | 73 65 64 20 74 6f 20 73 |ives...U|sed to s|
|00001a00| 70 65 65 64 20 75 70 20 | 63 6f 64 65 20 65 78 65 |peed up |code exe|
|00001a10| 63 75 74 69 6f 6e 20 62 | 79 20 74 75 72 6e 69 6e |cution b|y turnin|
|00001a20| 67 20 6f 66 66 20 63 65 | 72 74 61 69 6e 20 61 75 |g off ce|rtain au|
|00001a30| 74 6f 6d 61 74 69 63 20 | 74 61 73 6b 73 2e 20 57 |tomatic |tasks. W|
|00001a40| 68 65 6e 20 61 20 70 72 | 61 67 6d 61 20 64 69 72 |hen a pr|agma dir|
|00001a50| 65 63 74 69 76 65 20 69 | 73 20 75 73 65 64 2c 20 |ective i|s used, |
|00001a60| 74 68 65 20 61 75 74 6f | 6d 61 74 69 63 20 74 61 |the auto|matic ta|
|00001a70| 73 6b 20 72 65 6d 61 69 | 6e 73 20 6f 66 66 20 75 |sk remai|ns off u|
|00001a80| 6e 74 69 6c 20 74 68 65 | 20 65 6e 64 20 6f 66 20 |ntil the| end of |
|00001a90| 74 68 65 20 6d 65 74 68 | 6f 64 20 69 6e 20 77 68 |the meth|od in wh|
|00001aa0| 69 63 68 20 69 74 20 69 | 73 20 63 61 6c 6c 65 64 |ich it i|s called|
|00001ab0| 2c 20 62 75 74 20 6e 6f | 74 20 69 6e 20 6f 74 68 |, but no|t in oth|
|00001ac0| 65 72 20 6d 65 74 68 6f | 64 73 20 74 68 61 74 20 |er metho|ds that |
|00001ad0| 6d 69 67 68 74 20 62 65 | 20 63 61 6c 6c 65 64 20 |might be| called |
|00001ae0| 77 69 74 68 69 6e 20 74 | 68 65 20 6f 72 69 67 69 |within t|he origi|
|00001af0| 6e 61 6c 20 6d 65 74 68 | 6f 64 2e 04 00 09 44 69 |nal meth|od....Di|
|00001b00| 72 65 63 74 69 76 65 00 | 0b 44 65 73 63 72 69 70 |rective.|.Descrip|
|00001b10| 74 69 6f 6e ff 05 00 13 | 61 72 72 61 79 42 6f 75 |tion....|arrayBou|
|00001b20| 6e 64 73 43 68 65 63 6b | 69 6e 67 00 42 55 73 65 |ndsCheck|ing.BUse|
|00001b30| 64 20 74 6f 20 74 75 72 | 6e 20 6f 66 66 20 61 72 |d to tur|n off ar|
|00001b40| 72 61 79 20 62 6f 75 6e | 64 73 20 63 68 65 63 6b |ray boun|ds check|
|00001b50| 69 6e 67 20 66 6f 72 20 | 63 6f 64 65 20 61 66 74 |ing for |code aft|
|00001b60| 65 72 20 74 68 65 20 23 | 70 72 61 67 6d 61 2e ff |er the #|pragma..|
|00001b70| 05 00 16 64 69 73 61 62 | 6c 65 42 61 63 6b 67 72 |...disab|leBackgr|
|00001b80| 6f 75 6e 64 54 61 73 6b | 73 00 82 55 73 65 64 20 |oundTask|s..Used |
|00001b90| 74 6f 20 74 75 72 6e 20 | 6f 66 66 20 61 75 74 6f |to turn |off auto|
|00001ba0| 6d 61 74 69 63 20 62 61 | 63 6b 67 72 6f 75 6e 64 |matic ba|ckground|
|00001bb0| 20 74 61 73 6b 20 68 61 | 6e 64 6c 69 6e 67 20 66 | task ha|ndling f|
|00001bc0| 6f 72 20 63 6f 64 65 20 | 61 66 74 65 72 20 74 68 |or code |after th|
|00001bd0| 65 20 23 70 72 61 67 6d | 61 2e 20 49 74 20 72 65 |e #pragm|a. It re|
|00001be0| 6d 61 69 6e 73 20 74 75 | 72 6e 65 64 20 6f 66 66 |mains tu|rned off|
|00001bf0| 20 75 6e 74 69 6c 20 74 | 68 65 20 65 6e 64 20 6f | until t|he end o|
|00001c00| 66 20 74 68 65 20 6d 65 | 74 68 6f 64 2e ff 0d 00 |f the me|thod....|
|00001c10| 03 41 62 73 0c 00 30 4d | 61 74 68 3a 41 62 73 28 |.Abs..0M|ath:Abs(|
|00001c20| 76 61 6c 75 65 29 3c 5a | 61 70 66 3e db 20 3c 44 |value)<Z|apf>. <D|
|00001c30| 65 66 61 75 6c 74 20 50 | 61 72 61 20 46 6f 6e 74 |efault P|ara Font|
|00001c40| 3e 44 6f 75 62 6c 65 0d | 00 03 41 62 73 0d 00 03 |>Double.|..Abs...|
|00001c50| 41 62 73 01 00 0c 41 62 | 73 20 46 75 6e 63 74 69 |Abs...Ab|s Functi|
|00001c60| 6f 6e 03 00 33 52 65 74 | 75 72 6e 73 20 74 68 65 |on..3Ret|urns the|
|00001c70| 20 61 62 73 6f 6c 75 74 | 65 20 76 61 6c 75 65 20 | absolut|e value |
|00001c80| 6f 66 20 74 68 65 20 6e | 75 6d 62 65 72 20 73 70 |of the n|umber sp|
|00001c90| 65 63 69 66 69 65 64 2e | 02 00 06 53 79 6e 74 61 |ecified.|...Synta|
|00001ca0| 78 03 00 13 72 65 73 75 | 6c 74 3d 01 41 62 73 02 |x...resu|lt=.Abs.|
|00001cb0| 28 76 61 6c 75 65 29 04 | 00 04 50 61 72 74 00 04 |(value).|..Part..|
|00001cc0| 54 79 70 65 00 0b 44 65 | 73 63 72 69 70 74 69 6f |Type..De|scriptio|
|00001cd0| 6e ff 05 00 05 76 61 6c | 75 65 00 06 44 6f 75 62 |n....val|ue..Doub|
|00001ce0| 6c 65 00 2a 54 68 65 20 | 6e 75 6d 62 65 72 20 79 |le.*The |number y|
|00001cf0| 6f 75 20 77 69 73 68 20 | 74 68 65 20 61 62 73 6f |ou wish |the abso|
|00001d00| 6c 75 74 65 20 76 61 6c | 75 65 20 6f 66 2e ff 05 |lute val|ue of...|
|00001d10| 00 06 72 65 73 75 6c 74 | 00 06 44 6f 75 62 6c 65 |..result|..Double|
|00001d20| 00 1c 54 68 65 20 61 62 | 73 6f 6c 75 74 65 20 76 |..The ab|solute v|
|00001d30| 61 6c 75 65 20 6f 66 20 | 76 61 6c 75 65 2e ff 02 |alue of |value...|
|00001d40| 00 05 4e 6f 74 65 73 03 | 00 4a 54 68 65 20 01 41 |..Notes.|.JThe .A|
|00001d50| 62 73 02 20 66 75 6e 63 | 74 69 6f 6e 20 72 65 74 |bs. func|tion ret|
|00001d60| 75 72 6e 73 20 74 68 65 | 20 70 6f 73 69 74 69 76 |urns the| positiv|
|00001d70| 65 20 65 71 75 69 76 61 | 6c 65 6e 74 20 6f 66 20 |e equiva|lent of |
|00001d80| 74 68 65 20 76 61 6c 75 | 65 20 73 70 65 63 69 66 |the valu|e specif|
|00001d90| 69 65 64 2e 02 00 08 45 | 78 61 6d 70 6c 65 73 03 |ied....E|xamples.|
|00001da0| 00 5d 54 68 65 73 65 20 | 65 78 61 6d 70 6c 65 73 |.]These |examples|
|00001db0| 20 75 73 65 20 74 68 65 | 20 01 41 62 73 02 20 66 | use the| .Abs. f|
|00001dc0| 75 6e 63 74 69 6f 6e 20 | 74 6f 20 72 65 74 75 72 |unction |to retur|
|00001dd0| 6e 20 74 68 65 20 61 62 | 73 6f 6c 75 74 65 20 76 |n the ab|solute v|
|00001de0| 61 6c 75 65 73 20 6f 66 | 20 74 68 65 20 6e 75 6d |alues of| the num|
|00001df0| 62 65 72 73 20 73 70 65 | 63 69 66 69 65 64 2e 06 |bers spe|cified..|
|00001e00| 00 16 0e 44 69 6d 0f 03 | 44 69 6d 04 20 64 20 61 |...Dim..|Dim. d a|
|00001e10| 73 20 44 6f 75 62 6c 65 | 06 00 1b 64 3d 41 62 73 |s Double|...d=Abs|
|00001e20| 28 32 33 2e 39 29 20 20 | 2f 2f 72 65 74 75 72 6e |(23.9) |//return|
|00001e30| 73 20 32 33 2e 39 06 00 | 1b 64 3d 41 62 73 28 2d |s 23.9..|.d=Abs(-|
|00001e40| 32 33 2e 39 29 20 2f 2f | 72 65 74 75 72 6e 73 20 |23.9) //|returns |
|00001e50| 32 33 2e 39 0d 00 04 41 | 63 6f 73 0c 00 33 4d 61 |23.9...A|cos..3Ma|
|00001e60| 74 68 3a 41 63 6f 73 28 | 76 61 6c 75 65 29 3c 5a |th:Acos(|value)<Z|
|00001e70| 61 70 66 3e 20 db 20 3c | 44 65 66 61 75 6c 74 20 |apf> . <|Default |
|00001e80| 50 61 72 61 20 46 6f 6e | 74 3e 20 44 6f 75 62 6c |Para Fon|t> Doubl|
|00001e90| 65 01 00 0d 41 63 6f 73 | 20 46 75 6e 63 74 69 6f |e...Acos| Functio|
|00001ea0| 6e 03 00 2e 52 65 74 75 | 72 6e 73 20 74 68 65 20 |n...Retu|rns the |
|00001eb0| 61 72 63 20 63 6f 73 69 | 6e 65 20 6f 66 20 74 68 |arc cosi|ne of th|
|00001ec0| 65 20 76 61 6c 75 65 20 | 73 70 65 63 69 66 69 65 |e value |specifie|
|00001ed0| 64 2e 02 00 06 53 79 6e | 74 61 78 03 00 14 72 65 |d....Syn|tax...re|
|00001ee0| 73 75 6c 74 3d 01 41 63 | 6f 73 02 28 76 61 6c 75 |sult=.Ac|os.(valu|
|00001ef0| 65 29 04 00 04 50 61 72 | 74 00 04 54 79 70 65 00 |e)...Par|t..Type.|
|00001f00| 0b 44 65 73 63 72 69 70 | 74 69 6f 6e ff 05 00 05 |.Descrip|tion....|
|00001f10| 76 61 6c 75 65 00 06 44 | 6f 75 62 6c 65 00 25 54 |value..D|ouble.%T|
|00001f20| 68 65 20 76 61 6c 75 65 | 20 79 6f 75 20 77 61 6e |he value| you wan|
|00001f30| 74 20 74 68 65 20 61 72 | 63 20 63 6f 73 69 6e 65 |t the ar|c cosine|
|00001f40| 20 6f 66 2e ff 05 00 06 | 72 65 73 75 6c 74 00 06 | of.....|result..|
|00001f50| 44 6f 75 62 6c 65 00 18 | 54 68 65 20 61 72 63 20 |Double..|The arc |
|00001f60| 63 6f 73 69 6e 65 20 6f | 66 20 76 61 6c 75 65 2e |cosine o|f value.|
|00001f70| ff 02 00 05 4e 6f 74 65 | 73 03 00 4e 54 68 65 20 |....Note|s..NThe |
|00001f80| 01 41 63 6f 73 02 20 66 | 75 6e 63 74 69 6f 6e 20 |.Acos. f|unction |
|00001f90| 72 65 74 75 72 6e 73 20 | 74 68 65 20 61 6e 67 6c |returns |the angl|
|00001fa0| 65 20 28 69 6e 20 72 61 | 64 69 61 6e 73 29 20 6f |e (in ra|dians) o|
|00001fb0| 66 20 74 68 65 20 63 6f | 73 69 6e 65 20 70 61 73 |f the co|sine pas|
|00001fc0| 73 65 64 20 74 6f 20 69 | 74 2e 02 00 08 45 78 61 |sed to i|t....Exa|
|00001fd0| 6d 70 6c 65 73 03 00 4b | 54 68 69 73 20 65 78 61 |mples..K|This exa|
|00001fe0| 6d 70 6c 65 20 75 73 65 | 73 20 74 68 65 20 01 41 |mple use|s the .A|
|00001ff0| 63 6f 73 02 20 66 75 6e | 63 74 69 6f 6e 20 74 6f |cos. fun|ction to|
|00002000| 20 72 65 74 75 72 6e 20 | 74 68 65 20 61 72 63 20 | return |the arc |
|00002010| 63 6f 73 69 6e 65 20 6f | 66 20 61 20 6e 75 6d 62 |cosine o|f a numb|
|00002020| 65 72 2e 06 00 16 0e 44 | 69 6d 0f 03 44 69 6d 04 |er.....D|im..Dim.|
|00002030| 20 64 20 61 73 20 44 6f | 75 62 6c 65 06 00 1e 64 | d as Do|uble...d|
|00002040| 3d 41 63 6f 73 28 2e 35 | 29 20 2f 2f 72 65 74 75 |=Acos(.5|) //retu|
|00002050| 72 6e 73 20 31 2e 30 34 | 37 31 39 37 36 02 00 08 |rns 1.04|71976...|
|00002060| 53 65 65 20 41 6c 73 6f | 03 00 13 0e 43 6f 73 0f |See Also|....Cos.|
|00002070| 03 43 6f 73 04 20 46 75 | 6e 63 74 69 6f 6e 0d 00 |.Cos. Fu|nction..|
|00002080| 03 41 6e 64 0c 00 0d 4f | 70 65 72 61 74 6f 72 73 |.And...O|perators|
|00002090| 3a 41 6e 64 0c 00 0d 4f | 70 65 72 61 74 6f 72 73 |:And...O|perators|
|000020a0| 3a 41 6e 64 01 00 0c 41 | 6e 64 20 4f 70 65 72 61 |:And...A|nd Opera|
|000020b0| 74 6f 72 03 00 41 55 73 | 65 64 20 74 6f 20 70 65 |tor..AUs|ed to pe|
|000020c0| 72 66 6f 72 6d 20 61 20 | 6c 6f 67 69 63 61 6c 20 |rform a |logical |
|000020d0| 63 6f 6e 6a 75 6e 63 74 | 69 6f 6e 20 6f 6e 20 74 |conjunct|ion on t|
|000020e0| 77 6f 20 62 6f 6f 6c 65 | 61 6e 20 65 78 70 72 65 |wo boole|an expre|
|000020f0| 73 73 69 6f 6e 73 2e 02 | 00 06 53 79 6e 74 61 78 |ssions..|..Syntax|
|00002100| 03 00 24 72 65 73 75 6c | 74 3d 65 78 70 72 65 73 |..$resul|t=expres|
|00002110| 73 69 6f 6e 31 20 01 41 | 6e 64 02 20 65 78 70 72 |sion1 .A|nd. expr|
|00002120| 65 73 73 69 6f 6e 32 04 | 00 04 50 61 72 74 00 0b |ession2.|..Part..|
|00002130| 44 65 73 63 72 69 70 74 | 69 6f 6e ff 05 00 06 72 |Descript|ion....r|
|00002140| 65 73 75 6c 74 00 10 41 | 20 62 6f 6f 6c 65 61 6e |esult..A| boolean|
|00002150| 20 76 61 6c 75 65 2e ff | 05 00 0b 65 78 70 72 65 | value..|...expre|
|00002160| 73 73 69 6f 6e 31 00 1d | 41 6e 79 20 76 61 6c 69 |ssion1..|Any vali|
|00002170| 64 20 62 6f 6f 6c 65 61 | 6e 20 65 78 70 72 65 73 |d boolea|n expres|
|00002180| 73 69 6f 6e 2e ff 05 00 | 0b 65 78 70 72 65 73 73 |sion....|.express|
|00002190| 69 6f 6e 32 00 1d 41 6e | 79 20 76 61 6c 69 64 20 |ion2..An|y valid |
|000021a0| 62 6f 6f 6c 65 61 6e 20 | 65 78 70 72 65 73 73 69 |boolean |expressi|
|000021b0| 6f 6e 2e ff 02 00 05 4e | 6f 74 65 73 03 00 9a 49 |on.....N|otes...I|
|000021c0| 66 20 62 6f 74 68 20 65 | 78 70 72 65 73 73 69 6f |f both e|xpressio|
|000021d0| 6e 73 20 65 76 61 6c 75 | 61 74 65 20 74 6f 20 0e |ns evalu|ate to .|
|000021e0| 54 72 75 65 0f 03 54 72 | 75 65 04 2c 20 74 68 65 |True..Tr|ue., the|
|000021f0| 6e 20 72 65 73 75 6c 74 | 20 69 73 20 0e 54 72 75 |n result| is .Tru|
|00002200| 65 0f 03 54 72 75 65 04 | 2e 20 49 66 20 65 69 74 |e..True.|. If eit|
|00002210| 68 65 72 20 65 78 70 72 | 65 73 73 69 6f 6e 20 65 |her expr|ession e|
|00002220| 76 61 6c 75 61 74 65 73 | 20 74 6f 20 0e 46 61 6c |valuates| to .Fal|
|00002230| 73 65 0f 03 46 61 6c 73 | 65 04 20 74 68 65 6e 20 |se..Fals|e. then |
|00002240| 72 65 73 75 6c 74 20 69 | 73 20 0e 46 61 6c 73 65 |result i|s .False|
|00002250| 0f 03 46 61 6c 73 65 04 | 2e 02 00 07 45 78 61 6d |..False.|....Exam|
|00002260| 70 6c 65 03 00 4b 54 68 | 69 73 20 65 78 61 6d 70 |ple..KTh|is examp|
|00002270| 6c 65 20 75 73 65 73 20 | 74 68 65 20 0e 41 6e 64 |le uses |the .And|
|00002280| 0f 03 41 6e 64 04 20 6f | 70 65 72 61 74 6f 72 20 |..And. o|perator |
|00002290| 74 6f 20 70 65 72 66 6f | 72 6d 20 61 20 6c 6f 67 |to perfo|rm a log|
|000022a0| 69 63 61 6c 20 63 6f 6e | 6a 75 6e 63 74 69 6f 6e |ical con|junction|
|000022b0| 2e 06 00 17 0e 44 69 6d | 0f 03 44 69 6d 04 20 61 |.....Dim|..Dim. a|
|000022c0| 20 41 73 20 42 6f 6f 6c | 65 61 6e 06 00 17 0e 44 | As Bool|ean....D|
|000022d0| 69 6d 0f 03 44 69 6d 04 | 20 62 20 41 73 20 42 6f |im..Dim.| b As Bo|
|000022e0| 6f 6c 65 61 6e 06 00 17 | 0e 44 69 6d 0f 03 44 69 |olean...|.Dim..Di|
|000022f0| 6d 04 20 63 20 41 73 20 | 42 6f 6f 6c 65 61 6e 06 |m. c As |Boolean.|
|00002300| 00 17 0e 44 69 6d 0f 03 | 44 69 6d 04 20 64 20 41 |...Dim..|Dim. d A|
|00002310| 73 20 42 6f 6f 6c 65 61 | 6e 06 00 0e 61 3d 0e 54 |s Boolea|n...a=.T|
|00002320| 72 75 65 0f 03 54 72 75 | 65 04 06 00 0e 62 3d 0e |rue..Tru|e....b=.|
|00002330| 54 72 75 65 0f 03 54 72 | 75 65 04 06 00 27 64 3d |True..Tr|ue...'d=|
|00002340| 61 20 0e 41 6e 64 0f 03 | 41 6e 64 04 20 62 20 2f |a .And..|And. b /|
|00002350| 2f 52 65 74 75 72 6e 73 | 20 0e 54 72 75 65 0f 03 |/Returns| .True..|
|00002360| 54 72 75 65 04 07 00 29 | 64 3d 61 20 0e 41 6e 64 |True...)|d=a .And|
|00002370| 0f 03 41 6e 64 04 20 63 | 20 2f 2f 52 65 74 75 72 |..And. c| //Retur|
|00002380| 6e 73 20 0e 46 61 6c 73 | 65 0f 03 46 61 6c 73 65 |ns .Fals|e..False|
|00002390| 04 02 00 08 53 65 65 20 | 41 6c 73 6f 03 00 26 0e |....See |Also..&.|
|000023a0| 4e 6f 74 0f 03 4e 6f 74 | 04 20 4f 70 65 72 61 74 |Not..Not|. Operat|
|000023b0| 6f 72 2c 20 0e 4f 72 0f | 03 4f 72 04 20 4f 70 65 |or, .Or.|.Or. Ope|
|000023c0| 72 61 74 6f 72 0d 00 03 | 41 70 70 0c 00 0b 4f 62 |rator...|App...Ob|
|000023d0| 6a 65 63 74 73 3a 41 70 | 70 01 00 0a 41 70 70 20 |jects:Ap|p...App |
|000023e0| 4f 62 6a 65 63 74 03 00 | 5e 41 6e 20 69 6e 74 72 |Object..|^An intr|
|000023f0| 69 6e 73 69 63 20 69 6e | 73 74 61 6e 63 65 20 6f |insic in|stance o|
|00002400| 66 20 74 68 65 20 0e 41 | 70 70 6c 69 63 61 74 69 |f the .A|pplicati|
|00002410| 6f 6e 0f 03 41 70 70 6c | 69 63 61 74 69 6f 6e 04 |on..Appl|ication.|
|00002420| 20 63 6c 61 73 73 20 74 | 68 61 74 20 72 65 70 72 | class t|hat repr|
|00002430| 65 73 65 6e 74 73 20 74 | 68 65 20 61 70 70 6c 69 |esents t|he appli|
|00002440| 63 61 74 69 6f 6e 2e 02 | 00 06 53 79 6e 74 61 78 |cation..|..Syntax|
|00002450| 03 00 14 01 41 70 70 02 | 2e 70 72 6f 70 65 72 74 |....App.|.propert|
|00002460| 79 3d 76 61 6c 75 65 03 | 00 0c 01 41 70 70 02 2e |y=value.|...App..|
|00002470| 6d 65 74 68 6f 64 02 00 | 05 4e 6f 74 65 73 03 01 |method..|.Notes..|
|00002480| 9b 54 68 65 20 01 41 70 | 70 02 20 6f 62 6a 65 63 |.The .Ap|p. objec|
|00002490| 74 20 72 65 70 72 65 73 | 65 6e 74 73 20 74 68 65 |t repres|ents the|
|000024a0| 20 61 70 70 6c 69 63 61 | 74 69 6f 6e 20 69 74 73 | applica|tion its|
|000024b0| 65 6c 66 20 28 61 73 20 | 6f 70 70 6f 73 65 64 20 |elf (as |opposed |
|000024c0| 74 6f 20 61 20 77 69 6e | 64 6f 77 20 6f 72 20 63 |to a win|dow or c|
|000024d0| 6f 6e 74 72 6f 6c 29 2e | 20 54 68 69 73 20 61 6c |ontrol).| This al|
|000024e0| 6c 6f 77 73 20 79 6f 75 | 20 61 63 63 65 73 73 20 |lows you| access |
|000024f0| 74 6f 20 74 68 65 20 0e | 41 70 70 6c 69 63 61 74 |to the .|Applicat|
|00002500| 69 6f 6e 0f 03 41 70 70 | 6c 69 63 61 74 69 6f 6e |ion..App|lication|
|00002510| 04 20 6f 62 6a 65 63 74 | d5 73 20 70 72 6f 70 65 |. object|.s prope|
|00002520| 72 74 69 65 73 2c 20 65 | 76 65 6e 74 73 2c 20 61 |rties, e|vents, a|
|00002530| 6e 64 20 6d 65 74 68 6f | 64 73 20 77 69 74 68 6f |nd metho|ds witho|
|00002540| 75 74 20 68 61 76 69 6e | 67 20 74 6f 20 65 78 70 |ut havin|g to exp|
|00002550| 6c 69 63 69 74 6c 79 20 | 73 74 6f 72 65 20 61 20 |licitly |store a |
|00002560| 72 65 66 65 72 65 6e 63 | 65 20 74 6f 20 69 74 2e |referenc|e to it.|
|00002570| 20 49 66 20 79 6f 75 20 | 68 61 76 65 20 63 72 65 | If you |have cre|
|00002580| 61 74 65 64 20 61 20 63 | 6c 61 73 73 20 74 68 61 |ated a c|lass tha|
|00002590| 74 20 69 73 20 61 20 73 | 75 62 63 6c 61 73 73 20 |t is a s|ubclass |
|000025a0| 6f 66 20 74 79 70 65 20 | 0e 41 70 70 6c 69 63 61 |of type |.Applica|
|000025b0| 74 69 6f 6e 0f 03 41 70 | 70 6c 69 63 61 74 69 6f |tion..Ap|plicatio|
|000025c0| 6e 04 2c 20 61 6e 64 20 | 79 6f 75 20 6e 61 6d 65 |n., and |you name|
|000025d0| 20 74 68 65 20 73 75 62 | 63 6c 61 73 73 20 d2 41 | the sub|class .A|
|000025e0| 70 70 d3 2c 20 74 68 65 | 20 01 41 70 70 02 20 6f |pp., the| .App. o|
|000025f0| 62 6a 65 63 74 20 77 69 | 6c 6c 20 72 65 74 75 72 |bject wi|ll retur|
|00002600| 6e 20 61 20 72 65 66 65 | 72 65 6e 63 65 20 74 6f |n a refe|rence to|
|00002610| 20 74 68 61 74 20 63 6c | 61 73 73 2e 02 00 08 45 | that cl|ass....E|
|00002620| 78 61 6d 70 6c 65 73 03 | 00 46 54 68 69 73 20 65 |xamples.|.FThis e|
|00002630| 78 61 6d 70 6c 65 20 63 | 68 61 6e 67 65 73 20 74 |xample c|hanges t|
|00002640| 68 65 20 61 70 70 6c 69 | 63 61 74 69 6f 6e d5 73 |he appli|cation.s|
|00002650| 20 4d 6f 75 73 65 43 75 | 72 73 6f 72 20 74 6f 20 | MouseCu|rsor to |
|00002660| 74 68 65 20 57 61 74 63 | 68 43 75 72 73 6f 72 3a |the Watc|hCursor:|
|00002670| 07 00 1b 41 70 70 2e 4d | 6f 75 73 65 43 75 72 73 |...App.M|ouseCurs|
|00002680| 6f 72 3d 57 61 74 63 68 | 43 75 72 73 6f 72 03 00 |or=Watch|Cursor..|
|00002690| 33 54 68 69 73 20 65 78 | 61 6d 70 6c 65 20 6f 70 |3This ex|ample op|
|000026a0| 65 6e 73 20 74 68 65 20 | 61 70 70 6c 69 63 61 74 |ens the |applicat|
|000026b0| 69 6f 6e d5 73 20 72 65 | 73 6f 75 72 63 65 20 66 |ion.s re|source f|
|000026c0| 6f 72 6b 3a 06 00 2d 0e | 44 69 6d 0f 03 44 69 6d |ork:..-.|Dim..Dim|
|000026d0| 04 20 72 66 20 61 73 20 | 0e 52 65 73 6f 75 72 63 |. rf as |.Resourc|
|000026e0| 65 46 6f 72 6b 0f 03 52 | 65 73 6f 75 72 63 65 46 |eFork..R|esourceF|
|000026f0| 6f 72 6b 04 07 00 23 72 | 66 3d 41 70 70 2e 0e 52 |ork...#r|f=App..R|
|00002700| 65 73 6f 75 72 63 65 46 | 6f 72 6b 0f 03 52 65 73 |esourceF|ork..Res|
|00002710| 6f 75 72 63 65 46 6f 72 | 6b 04 02 00 08 53 65 65 |ourceFor|k....See|
|00002720| 20 41 6c 73 6f 03 00 20 | 0e 41 70 70 6c 69 63 61 | Also.. |.Applica|
|00002730| 74 69 6f 6e 0f 03 41 70 | 70 6c 69 63 61 74 69 6f |tion..Ap|plicatio|
|00002740| 6e 04 20 43 6c 61 73 73 | 0d 00 06 41 70 70 65 6e |n. Class|...Appen|
|00002750| 64 0c 00 1e 41 72 72 61 | 79 73 3a 41 70 70 65 6e |d...Arra|ys:Appen|
|00002760| 64 3b 56 61 72 69 61 62 | 6c 65 73 3a 41 70 70 65 |d;Variab|les:Appe|
|00002770| 6e 64 0d 00 06 41 70 70 | 65 6e 64 01 00 0d 41 70 |nd...App|end...Ap|
|00002780| 70 65 6e 64 20 4d 65 74 | 68 6f 64 03 00 55 41 70 |pend Met|hod..UAp|
|00002790| 70 65 6e 64 73 20 61 20 | 6e 65 77 20 65 6c 65 6d |pends a |new elem|
|000027a0| 65 6e 74 20 74 6f 20 74 | 68 65 20 65 6e 64 20 6f |ent to t|he end o|
|000027b0| 66 20 61 6e 20 61 72 72 | 61 79 20 69 6e 63 72 65 |f an arr|ay incre|
|000027c0| 61 73 69 6e 67 20 74 68 | 65 20 73 69 7a 65 20 6f |asing th|e size o|
|000027d0| 66 20 74 68 65 20 61 72 | 72 61 79 20 62 79 20 6f |f the ar|ray by o|
|000027e0| 6e 65 2e 02 00 06 53 79 | 6e 74 61 78 03 00 14 61 |ne....Sy|ntax...a|
|000027f0| 72 72 61 79 2e 01 41 70 | 70 65 6e 64 02 20 76 61 |rray..Ap|pend. va|
|00002800| 6c 75 65 04 00 04 50 61 | 72 74 00 0b 44 65 73 63 |lue...Pa|rt..Desc|
|00002810| 72 69 70 74 69 6f 6e ff | 05 00 05 61 72 72 61 79 |ription.|...array|
|00002820| 00 23 52 65 71 75 69 72 | 65 64 2e 20 54 68 65 20 |.#Requir|ed. The |
|00002830| 61 72 72 61 79 20 74 6f | 20 62 65 20 61 70 70 65 |array to| be appe|
|00002840| 6e 64 65 64 2e ff 05 00 | 05 76 61 6c 75 65 00 32 |nded....|.value.2|
|00002850| 54 68 65 20 76 61 6c 75 | 65 20 74 6f 20 62 65 20 |The valu|e to be |
|00002860| 61 73 73 69 67 6e 65 64 | 20 74 6f 20 74 68 65 20 |assigned| to the |
|00002870| 6e 65 77 20 61 72 72 61 | 79 20 65 6c 65 6d 65 6e |new arra|y elemen|
|00002880| 74 2e ff 02 00 05 4e 6f | 74 65 73 03 00 3b 54 68 |t.....No|tes..;Th|
|00002890| 65 20 01 41 70 70 65 6e | 64 02 20 6d 65 74 68 6f |e .Appen|d. metho|
|000028a0| 64 20 77 6f 72 6b 73 20 | 77 69 74 68 20 6f 6e 65 |d works |with one|
|000028b0| 20 64 69 6d 65 6e 73 69 | 6f 6e 61 6c 20 61 72 72 | dimensi|onal arr|
|000028c0| 61 79 73 20 6f 6e 6c 79 | 2e 02 00 08 45 78 61 6d |ays only|....Exam|
|000028d0| 70 6c 65 73 03 00 42 54 | 68 69 73 20 65 78 61 6d |ples..BT|his exam|
|000028e0| 70 6c 65 20 61 70 70 65 | 6e 64 73 20 61 20 6e 65 |ple appe|nds a ne|
|000028f0| 77 20 65 6c 65 6d 65 6e | 74 20 74 6f 20 74 68 65 |w elemen|t to the|
|00002900| 20 65 6e 64 20 6f 66 20 | 74 68 65 20 61 4e 61 6d | end of |the aNam|
|00002910| 65 73 20 61 72 72 61 79 | 2e 06 00 14 61 4e 61 6d |es array|....aNam|
|00002920| 65 73 2e 61 70 70 65 6e | 64 20 22 42 69 6c 6c 22 |es.appen|d "Bill"|
|00002930| 02 00 08 53 65 65 20 41 | 6c 73 6f 03 00 79 0e 44 |...See A|lso..y.D|
|00002940| 69 6d 0f 03 44 69 6d 04 | 20 53 74 61 74 65 6d 65 |im..Dim.| Stateme|
|00002950| 6e 74 2c 20 0e 49 6e 73 | 65 72 74 0f 03 49 6e 73 |nt, .Ins|ert..Ins|
|00002960| 65 72 74 04 20 4d 65 74 | 68 6f 64 2c 20 0e 52 65 |ert. Met|hod, .Re|
|00002970| 64 69 6d 0f 03 52 65 64 | 69 6d 04 20 4d 65 74 68 |dim..Red|im. Meth|
|00002980| 6f 64 2c 20 0e 52 65 6d | 6f 76 65 0f 03 52 65 6d |od, .Rem|ove..Rem|
|00002990| 6f 76 65 04 20 4d 65 74 | 68 6f 64 2c 20 0e 55 62 |ove. Met|hod, .Ub|
|000029a0| 6f 75 6e 64 0f 03 55 62 | 6f 75 6e 64 04 20 46 75 |ound..Ub|ound. Fu|
|000029b0| 6e 63 74 69 6f 6e 20 0d | 00 0a 41 70 70 6c 65 45 |nction .|..AppleE|
|000029c0| 76 65 6e 74 0c 00 2f 41 | 70 70 6c 65 45 76 65 6e |vent../A|ppleEven|
|000029d0| 74 73 3a 41 70 70 6c 65 | 45 76 65 6e 74 20 43 6c |ts:Apple|Event Cl|
|000029e0| 61 73 73 3b 43 6c 61 73 | 73 65 73 3a 41 70 70 6c |ass;Clas|ses:Appl|
|000029f0| 65 45 76 65 6e 74 0c 00 | 2f 41 70 70 6c 65 45 76 |eEvent..|/AppleEv|
|00002a00| 65 6e 74 73 3a 41 70 70 | 6c 65 45 76 65 6e 74 20 |ents:App|leEvent |
|00002a10| 43 6c 61 73 73 3b 43 6c | 61 73 73 65 73 3a 41 70 |Class;Cl|asses:Ap|
|00002a20| 70 6c 65 45 76 65 6e 74 | 01 00 10 41 70 70 6c 65 |pleEvent|...Apple|
|00002a30| 45 76 65 6e 74 20 43 6c | 61 73 73 03 01 bf 41 70 |Event Cl|ass...Ap|
|00002a40| 70 6c 65 45 76 65 6e 74 | 20 6f 62 6a 65 63 74 73 |pleEvent| objects|
|00002a50| 20 63 61 6e 20 62 65 20 | 75 73 65 64 20 74 6f 20 | can be |used to |
|00002a60| 63 6f 6d 6d 75 6e 69 63 | 61 74 65 20 77 69 74 68 |communic|ate with|
|00002a70| 20 6f 74 68 65 72 20 4d | 61 63 69 6e 74 6f 73 68 | other M|acintosh|
|00002a80| 20 61 70 70 6c 69 63 61 | 74 69 6f 6e 73 20 61 6e | applica|tions an|
|00002a90| 64 20 74 68 65 20 4d 61 | 63 69 6e 74 6f 73 68 20 |d the Ma|cintosh |
|00002aa0| 53 79 73 74 65 6d 20 73 | 6f 66 74 77 61 72 65 2e |System s|oftware.|
|00002ab0| 20 49 66 20 79 6f 75 20 | 61 72 65 20 63 6f 6d 70 | If you |are comp|
|00002ac0| 69 6c 69 6e 67 20 79 6f | 75 72 20 61 70 70 6c 69 |iling yo|ur appli|
|00002ad0| 63 61 74 69 6f 6e 20 66 | 6f 72 20 75 73 65 20 6f |cation f|or use o|
|00002ae0| 6e 20 6e 6f 6e 2d 4d 61 | 63 69 6e 74 6f 73 68 20 |n non-Ma|cintosh |
|00002af0| 6f 70 65 72 61 74 69 6e | 67 20 73 79 73 74 65 6d |operatin|g system|
|00002b00| 73 2c 20 62 65 20 73 75 | 72 65 20 74 6f 20 63 68 |s, be su|re to ch|
|00002b10| 65 63 6b 20 74 68 65 20 | 67 6c 6f 62 61 6c 20 42 |eck the |global B|
|00002b20| 6f 6f 6c 65 61 6e 20 63 | 6f 6e 73 74 61 6e 74 73 |oolean c|onstants|
|00002b30| 2c 20 0e 54 61 72 67 65 | 74 4d 61 63 4f 53 0f 03 |, .Targe|tMacOS..|
|00002b40| 54 61 72 67 65 74 4d 61 | 63 4f 53 04 20 61 6e 64 |TargetMa|cOS. and|
|00002b50| 20 0e 54 61 72 67 65 74 | 57 69 6e 33 32 0f 03 54 | .Target|Win32..T|
|00002b60| 61 72 67 65 74 57 69 6e | 33 32 04 2e 20 54 68 65 |argetWin|32.. The|
|00002b70| 73 65 20 63 6f 6e 73 74 | 61 6e 74 73 20 61 72 65 |se const|ants are|
|00002b80| 20 73 65 74 20 61 75 74 | 6f 6d 61 74 69 63 61 6c | set aut|omatical|
|00002b90| 6c 79 20 69 6e 20 74 68 | 65 20 62 75 69 6c 74 20 |ly in th|e built |
|00002ba0| 61 70 70 6c 69 63 61 74 | 69 6f 6e 20 61 6e 64 20 |applicat|ion and |
|00002bb0| 72 65 74 75 72 6e 20 54 | 72 75 65 20 69 66 20 74 |return T|rue if t|
|00002bc0| 68 65 20 61 70 70 6c 69 | 63 61 74 69 6f 6e 20 69 |he appli|cation i|
|00002bd0| 73 20 72 75 6e 6e 69 6e | 67 20 6f 6e 20 74 68 65 |s runnin|g on the|
|00002be0| 20 72 65 73 70 65 63 74 | 69 76 65 20 6f 70 65 72 | respect|ive oper|
|00002bf0| 61 74 69 6e 67 20 73 79 | 73 74 65 6d 2e 02 00 0b |ating sy|stem....|
|00002c00| 53 75 70 65 72 20 43 6c | 61 73 73 03 00 10 0e 4f |Super Cl|ass....O|
|00002c10| 62 6a 65 63 74 0f 03 4f | 62 6a 65 63 74 04 02 00 |bject..O|bject...|
|00002c20| 0a 50 72 6f 70 65 72 74 | 69 65 73 04 00 04 4e 61 |.Propert|ies...Na|
|00002c30| 6d 65 00 04 54 79 70 65 | 00 0b 44 65 73 63 72 69 |me..Type|..Descri|
|00002c40| 70 74 69 6f 6e ff 05 00 | 0c 42 6f 6f 6c 65 61 6e |ption...|.Boolean|
|00002c50| 50 61 72 61 6d 00 17 50 | 61 72 61 6d 65 74 65 72 |Param..P|arameter|
|00002c60| 4e 61 6d 65 20 61 73 20 | 53 74 72 69 6e 67 00 38 |Name as |String.8|
|00002c70| 41 20 62 6f 6f 6c 65 61 | 6e 20 62 65 69 6e 67 20 |A boolea|n being |
|00002c80| 70 61 73 73 65 64 20 61 | 73 20 61 20 70 61 72 61 |passed a|s a para|
|00002c90| 6d 65 74 65 72 20 69 6e | 20 74 68 65 20 41 70 70 |meter in| the App|
|00002ca0| 6c 65 45 76 65 6e 74 2e | ff 05 00 0d 44 65 73 63 |leEvent.|....Desc|
|00002cb0| 4c 69 73 74 50 61 72 61 | 6d 00 17 50 61 72 61 6d |ListPara|m..Param|
|00002cc0| 65 74 65 72 4e 61 6d 65 | 20 61 73 20 53 74 72 69 |eterName| as Stri|
|00002cd0| 6e 67 00 61 41 6e 20 0e | 41 70 70 6c 65 45 76 65 |ng.aAn .|AppleEve|
|00002ce0| 6e 74 44 65 73 63 4c 69 | 73 74 0f 03 41 70 70 6c |ntDescLi|st..Appl|
|00002cf0| 65 45 76 65 6e 74 44 65 | 73 63 4c 69 73 74 04 20 |eEventDe|scList. |
|00002d00| 6f 62 6a 65 63 74 20 62 | 65 69 6e 67 20 70 61 73 |object b|eing pas|
|00002d10| 73 65 64 20 61 73 20 61 | 20 70 61 72 61 6d 65 74 |sed as a| paramet|
|00002d20| 65 72 20 69 6e 20 74 68 | 65 20 41 70 70 6c 65 45 |er in th|e AppleE|
|00002d30| 76 65 6e 74 2e ff 05 00 | 0f 45 6e 75 6d 65 72 61 |vent....|.Enumera|
|00002d40| 74 65 64 50 61 72 61 6d | 00 17 50 61 72 61 6d 65 |tedParam|..Parame|
|00002d50| 74 65 72 4e 61 6d 65 20 | 61 73 20 53 74 72 69 6e |terName |as Strin|
|00002d60| 67 00 46 41 20 66 6f 75 | 72 20 63 68 61 72 61 63 |g.FA fou|r charac|
|00002d70| 74 65 72 20 73 74 72 69 | 6e 67 20 62 65 69 6e 67 |ter stri|ng being|
|00002d80| 20 70 61 73 73 65 64 20 | 61 73 20 61 20 70 61 72 | passed |as a par|
|00002d90| 61 6d 65 74 65 72 20 69 | 6e 20 74 68 65 20 41 70 |ameter i|n the Ap|
|00002da0| 70 6c 65 45 76 65 6e 74 | 2e ff 05 00 0f 46 6f 6c |pleEvent|.....Fol|
|00002db0| 64 65 72 49 74 65 6d 50 | 61 72 61 6d 00 17 50 61 |derItemP|aram..Pa|
|00002dc0| 72 61 6d 65 74 65 72 4e | 61 6d 65 20 61 73 20 53 |rameterN|ame as S|
|00002dd0| 74 72 69 6e 67 00 49 41 | 20 0e 46 6f 6c 64 65 72 |tring.IA| .Folder|
|00002de0| 49 74 65 6d 0f 03 66 6f | 6c 64 65 72 69 74 65 6d |Item..fo|lderitem|
|00002df0| 04 20 62 65 69 6e 67 20 | 70 61 73 73 65 64 20 61 |. being |passed a|
|00002e00| 73 20 61 20 70 61 72 61 | 6d 65 74 65 72 20 69 6e |s a para|meter in|
|00002e10| 20 74 68 65 20 41 70 70 | 6c 65 45 76 65 6e 74 2e | the App|leEvent.|
|00002e20| ff 05 00 0c 49 6e 74 65 | 67 65 72 50 61 72 61 6d |....Inte|gerParam|
|00002e30| 00 18 50 61 72 61 6d 65 | 74 65 72 4e 61 6d 65 20 |..Parame|terName |
|00002e40| 61 73 20 53 74 72 69 6e | 67 0d 00 4e 41 6e 20 69 |as Strin|g..NAn i|
|00002e50| 6e 74 65 67 65 72 20 28 | 70 61 73 73 65 64 20 61 |nteger (|passed a|
|00002e60| 73 20 61 20 73 74 72 69 | 6e 67 29 20 62 65 69 6e |s a stri|ng) bein|
|00002e70| 67 20 70 61 73 73 65 64 | 20 61 73 20 61 20 70 61 |g passed| as a pa|
|00002e80| 72 61 6d 65 74 65 72 20 | 69 6e 20 74 68 65 20 41 |rameter |in the A|
|00002e90| 70 70 6c 65 45 76 65 6e | 74 2e ff 05 00 0c 4d 61 |ppleEven|t.....Ma|
|00002ea0| 63 54 79 70 65 50 61 72 | 61 6d 00 17 50 61 72 61 |cTypePar|am..Para|
|00002eb0| 6d 65 74 65 72 4e 61 6d | 65 20 61 73 20 53 74 72 |meterNam|e as Str|
|00002ec0| 69 6e 67 00 46 41 20 66 | 6f 75 72 20 63 68 61 72 |ing.FA f|our char|
|00002ed0| 61 63 74 65 72 20 73 74 | 72 69 6e 67 20 62 65 69 |acter st|ring bei|
|00002ee0| 6e 67 20 70 61 73 73 65 | 64 20 61 73 20 61 20 70 |ng passe|d as a p|
|00002ef0| 61 72 61 6d 65 74 65 72 | 20 69 6e 20 74 68 65 20 |arameter| in the |
|00002f00| 41 70 70 6c 65 45 76 65 | 6e 74 2e ff 05 00 14 4f |AppleEve|nt.....O|
|00002f10| 62 6a 65 63 74 53 70 65 | 63 69 66 69 65 72 50 61 |bjectSpe|cifierPa|
|00002f20| 72 61 6d 00 17 50 61 72 | 61 6d 65 74 65 72 4e 61 |ram..Par|ameterNa|
|00002f30| 6d 65 20 61 73 20 53 74 | 72 69 6e 67 00 68 41 6e |me as St|ring.hAn|
|00002f40| 20 0e 41 70 70 6c 65 45 | 76 65 6e 74 4f 62 6a 65 | .AppleE|ventObje|
|00002f50| 63 74 53 70 65 63 69 66 | 69 65 72 0f 03 41 70 70 |ctSpecif|ier..App|
|00002f60| 6c 65 45 76 65 6e 74 4f | 62 6a 65 63 74 53 70 65 |leEventO|bjectSpe|
|00002f70| 63 69 66 69 65 72 04 20 | 62 65 69 6e 67 20 70 61 |cifier. |being pa|
|00002f80| 73 73 65 64 20 61 73 20 | 61 20 70 61 72 61 6d 65 |ssed as |a parame|
|00002f90| 74 65 72 20 69 6e 20 74 | 68 65 20 41 70 70 6c 65 |ter in t|he Apple|
|00002fa0| 45 76 65 6e 74 2e ff 05 | 00 0b 52 65 63 6f 72 64 |Event...|..Record|
|00002fb0| 50 61 72 61 6d 00 17 50 | 61 72 61 6d 65 74 65 72 |Param..P|arameter|
|00002fc0| 4e 61 6d 65 20 61 73 20 | 53 74 72 69 6e 67 00 56 |Name as |String.V|
|00002fd0| 41 6e 20 0e 41 70 70 6c | 65 45 76 65 6e 74 52 65 |An .Appl|eEventRe|
|00002fe0| 63 6f 72 64 0f 03 41 70 | 70 6c 65 45 76 65 6e 74 |cord..Ap|pleEvent|
|00002ff0| 52 65 63 6f 72 64 04 20 | 62 65 69 6e 67 20 70 61 |Record. |being pa|
|00003000| 73 73 65 64 20 61 73 20 | 61 20 70 61 72 61 6d 65 |ssed as |a parame|
|00003010| 74 65 72 20 69 6e 20 74 | 68 65 20 41 70 70 6c 65 |ter in t|he Apple|
|00003020| 45 76 65 6e 74 2e ff 05 | 00 0c 52 65 70 6c 79 42 |Event...|..ReplyB|
|00003030| 6f 6f 6c 65 61 6e 00 07 | 42 6f 6f 6c 65 61 6e 00 |oolean..|Boolean.|
|00003040| 18 41 20 72 65 70 6c 79 | 20 69 6e 20 62 6f 6f 6c |.A reply| in bool|
|00003050| 65 61 6e 20 66 6f 72 6d | 2e ff 05 00 0d 52 65 70 |ean form|.....Rep|
|00003060| 6c 79 44 65 73 63 4c 69 | 73 74 00 28 0e 41 70 70 |lyDescLi|st.(.App|
|00003070| 6c 65 45 76 65 6e 74 44 | 65 73 63 4c 69 73 74 0f |leEventD|escList.|
|00003080| 03 41 70 70 6c 65 45 76 | 65 6e 74 44 65 73 63 4c |.AppleEv|entDescL|
|00003090| 69 73 74 04 00 3f 41 20 | 72 65 70 6c 79 20 69 6e |ist..?A |reply in|
|000030a0| 20 0e 41 70 70 6c 65 45 | 76 65 6e 74 44 65 73 63 | .AppleE|ventDesc|
|000030b0| 4c 69 73 74 0f 03 41 70 | 70 6c 65 45 76 65 6e 74 |List..Ap|pleEvent|
|000030c0| 44 65 73 63 72 69 70 74 | 6f 72 4c 69 73 74 20 04 |Descript|orList .|
|000030d0| 66 6f 72 6d 2e ff 05 00 | 0c 52 65 70 6c 79 49 6e |form....|.ReplyIn|
|000030e0| 74 65 67 65 72 00 07 49 | 6e 74 65 67 65 72 00 18 |teger..I|nteger..|
|000030f0| 41 20 72 65 70 6c 79 20 | 69 6e 20 69 6e 74 65 67 |A reply |in integ|
|00003100| 65 72 20 66 6f 72 6d 2e | ff 05 00 14 52 65 70 6c |er form.|....Repl|
|00003110| 79 4f 62 6a 65 63 74 53 | 70 65 63 69 66 69 65 72 |yObjectS|pecifier|
|00003120| 00 36 0e 41 70 70 6c 65 | 45 76 65 6e 74 4f 62 6a |.6.Apple|EventObj|
|00003130| 65 63 74 53 70 65 63 69 | 66 69 65 72 0f 03 41 70 |ectSpeci|fier..Ap|
|00003140| 70 6c 65 45 76 65 6e 74 | 4f 62 6a 65 63 74 53 70 |pleEvent|ObjectSp|
|00003150| 65 63 69 66 69 65 72 04 | 00 47 41 20 72 65 70 6c |ecifier.|.GA repl|
|00003160| 79 20 69 6e 20 0e 41 70 | 70 6c 65 45 76 65 6e 74 |y in .Ap|pleEvent|
|00003170| 4f 62 6a 65 63 74 53 70 | 65 63 69 66 69 65 72 0f |ObjectSp|ecifier.|
|00003180| 03 41 70 70 6c 65 45 76 | 65 6e 74 4f 62 6a 65 63 |.AppleEv|entObjec|
|00003190| 74 53 70 65 63 69 66 69 | 65 72 20 04 66 6f 72 6d |tSpecifi|er .form|
|000031a0| 2e ff 05 00 0b 52 65 70 | 6c 79 52 65 63 6f 72 64 |.....Rep|lyRecord|
|000031b0| 00 24 0e 41 70 70 6c 65 | 45 76 65 6e 74 52 65 63 |.$.Apple|EventRec|
|000031c0| 6f 72 64 0f 03 41 70 70 | 6c 65 45 76 65 6e 74 52 |ord..App|leEventR|
|000031d0| 65 63 6f 72 64 04 00 35 | 41 20 72 65 70 6c 79 20 |ecord..5|A reply |
|000031e0| 69 6e 20 0e 41 70 70 6c | 65 45 76 65 6e 74 52 65 |in .Appl|eEventRe|
|000031f0| 63 6f 72 64 0f 03 41 70 | 70 6c 65 45 76 65 6e 74 |cord..Ap|pleEvent|
|00003200| 52 65 63 6f 72 64 04 20 | 66 6f 72 6d 2e ff 05 00 |Record. |form....|
|00003210| 0b 52 65 70 6c 79 53 74 | 72 69 6e 67 00 07 53 74 |.ReplySt|ring..St|
|00003220| 72 69 6e 67 0d 00 17 41 | 20 72 65 70 6c 79 20 69 |ring...A| reply i|
|00003230| 6e 20 73 74 72 69 6e 67 | 20 66 6f 72 6d 2e ff 05 |n string| form...|
|00003240| 00 0b 53 74 72 69 6e 67 | 50 61 72 61 6d 00 18 50 |..String|Param..P|
|00003250| 61 72 61 6d 65 74 65 72 | 4e 61 6d 65 20 61 73 20 |arameter|Name as |
|00003260| 53 74 72 69 6e 67 0d 00 | 37 41 20 73 74 72 69 6e |String..|7A strin|
|00003270| 67 20 62 65 69 6e 67 20 | 70 61 73 73 65 64 20 61 |g being |passed a|
|00003280| 73 20 61 20 70 61 72 61 | 6d 65 74 65 72 20 69 6e |s a para|meter in|
|00003290| 20 74 68 65 20 41 70 70 | 6c 65 45 76 65 6e 74 2e | the App|leEvent.|
|000032a0| ff 05 00 07 54 69 6d 65 | 4f 75 74 00 07 49 6e 74 |....Time|Out..Int|
|000032b0| 65 67 65 72 00 38 54 69 | 6d 65 6f 75 74 20 74 69 |eger.8Ti|meout ti|
|000032c0| 6d 65 20 69 6e 20 73 65 | 63 6f 6e 64 73 0d 2d 31 |me in se|conds.-1|
|000032d0| 20 3d 20 75 73 65 20 64 | 65 66 61 75 6c 74 0d 2d | = use d|efault.-|
|000032e0| 32 20 3d 20 6e 6f 20 74 | 69 6d 65 6f 75 74 ff 02 |2 = no t|imeout..|
|000032f0| 00 07 4d 65 74 68 6f 64 | 73 04 00 04 4e 61 6d 65 |..Method|s...Name|
|00003300| 00 0a 50 61 72 61 6d 65 | 74 65 72 73 00 0b 44 65 |..Parame|ters..De|
|00003310| 73 63 72 69 70 74 69 6f | 6e ff 05 00 10 4c 6f 61 |scriptio|n....Loa|
|00003320| 64 46 72 6f 6d 54 65 6d | 70 6c 61 74 65 00 1e 54 |dFromTem|plate..T|
|00003330| 65 6d 70 6c 61 74 65 20 | 61 73 20 41 70 70 6c 65 |emplate |as Apple|
|00003340| 45 76 65 6e 74 54 65 6d | 70 6c 61 74 65 00 1d 4c |EventTem|plate..L|
|00003350| 6f 61 64 73 20 61 6e 20 | 41 70 70 6c 65 20 45 76 |oads an |Apple Ev|
|00003360| 65 6e 74 20 74 65 6d 70 | 6c 61 74 65 ff 05 00 04 |ent temp|late....|
|00003370| 53 65 6e 64 00 00 00 5e | 52 65 74 75 72 6e 73 20 |Send...^|Returns |
|00003380| 0e 54 72 75 65 0f 03 54 | 72 75 65 04 20 69 66 20 |.True..T|rue. if |
|00003390| 74 68 65 20 41 70 70 6c | 65 45 76 65 6e 74 20 77 |the Appl|eEvent w|
|000033a0| 61 73 20 73 75 63 63 65 | 73 73 66 75 6c 6c 79 20 |as succe|ssfully |
|000033b0| 73 65 6e 74 20 61 6e 64 | 20 0e 46 61 6c 73 65 0f |sent and| .False.|
|000033c0| 03 46 61 6c 73 65 04 20 | 69 66 20 69 74 20 77 61 |.False. |if it wa|
|000033d0| 73 20 6e 6f 74 2e ff 05 | 00 0c 53 65 74 4e 75 6c |s not...|..SetNul|
|000033e0| 6c 50 61 72 61 6d 00 17 | 50 61 72 61 6d 65 74 65 |lParam..|Paramete|
|000033f0| 72 4e 61 6d 65 20 61 73 | 20 53 74 72 69 6e 67 00 |rName as| String.|
|00003400| 36 53 65 74 73 20 74 68 | 65 20 70 61 72 61 6d 65 |6Sets th|e parame|
|00003410| 74 65 72 20 73 70 65 63 | 69 66 69 65 64 20 62 79 |ter spec|ified by|
|00003420| 20 74 68 65 20 4b 65 79 | 77 6f 72 64 20 74 6f 20 | the Key|word to |
|00003430| 61 20 6e 75 6c 6c 2e ff | 02 00 05 4e 6f 74 65 73 |a null..|...Notes|
|00003440| 03 01 80 41 70 70 6c 65 | 45 76 65 6e 74 20 6f 62 |...Apple|Event ob|
|00003450| 6a 65 63 74 73 20 61 72 | 65 20 75 73 65 64 20 74 |jects ar|e used t|
|00003460| 6f 20 73 65 6e 64 20 61 | 6e 64 20 72 65 63 65 69 |o send a|nd recei|
|00003470| 76 65 20 69 6e 66 6f 72 | 6d 61 74 69 6f 6e 20 62 |ve infor|mation b|
|00003480| 65 74 77 65 65 6e 20 79 | 6f 75 72 20 61 70 70 6c |etween y|our appl|
|00003490| 69 63 61 74 69 6f 6e 20 | 61 6e 64 20 6f 74 68 65 |ication |and othe|
|000034a0| 72 20 4d 61 63 69 6e 74 | 6f 73 68 20 61 70 70 6c |r Macint|osh appl|
|000034b0| 69 63 61 74 69 6f 6e 73 | 20 6f 72 20 74 68 65 20 |ications| or the |
|000034c0| 4d 61 63 4f 53 2e 20 54 | 6f 20 73 65 6e 64 20 61 |MacOS. T|o send a|
|000034d0| 6e 20 41 70 70 6c 65 45 | 76 65 6e 74 20 66 72 6f |n AppleE|vent fro|
|000034e0| 6d 20 79 6f 75 72 20 61 | 70 70 6c 69 63 61 74 69 |m your a|pplicati|
|000034f0| 6f 6e 20 74 6f 20 61 6e | 6f 74 68 65 72 20 61 70 |on to an|other ap|
|00003500| 70 6c 69 63 61 74 69 6f | 6e 2c 20 63 72 65 61 74 |plicatio|n, creat|
|00003510| 65 20 61 6e 20 41 70 70 | 6c 65 45 76 65 6e 74 20 |e an App|leEvent |
|00003520| 77 69 74 68 20 74 68 65 | 20 0e 4e 65 77 41 70 70 |with the| .NewApp|
|00003530| 6c 65 45 76 65 6e 74 0f | 03 4e 65 77 41 70 70 6c |leEvent.|.NewAppl|
|00003540| 65 45 76 65 6e 74 04 20 | 66 75 6e 63 74 69 6f 6e |eEvent. |function|
|00003550| 2c 20 66 69 6c 6c 20 69 | 6e 20 74 68 65 20 41 70 |, fill i|n the Ap|
|00003560| 70 6c 65 45 76 65 6e 74 | d5 73 20 70 72 6f 70 65 |pleEvent|.s prope|
|00003570| 72 74 69 65 73 20 77 69 | 74 68 20 61 6e 79 20 6e |rties wi|th any n|
|00003580| 65 63 65 73 73 61 72 79 | 20 64 61 74 61 2c 20 74 |ecessary| data, t|
|00003590| 68 65 6e 20 63 61 6c 6c | 20 74 68 65 20 41 70 70 |hen call| the App|
|000035a0| 6c 65 45 76 65 6e 74 d5 | 73 20 53 65 6e 64 20 66 |leEvent.|s Send f|
|000035b0| 75 6e 63 74 69 6f 6e 20 | 74 6f 20 73 65 6e 64 20 |unction |to send |
|000035c0| 69 74 2e 03 01 3e 41 70 | 70 6c 65 45 76 65 6e 74 |it...>Ap|pleEvent|
|000035d0| 73 20 63 61 6e 20 61 6c | 73 6f 20 62 65 20 72 65 |s can al|so be re|
|000035e0| 63 65 69 76 65 64 20 62 | 79 20 79 6f 75 72 20 61 |ceived b|y your a|
|000035f0| 70 70 6c 69 63 61 74 69 | 6f 6e 2e 20 57 68 65 6e |pplicati|on. When|
|00003600| 20 79 6f 75 72 20 61 70 | 70 6c 69 63 61 74 69 6f | your ap|plicatio|
|00003610| 6e 20 72 65 63 65 69 76 | 65 73 20 61 6e 20 41 70 |n receiv|es an Ap|
|00003620| 70 6c 65 45 76 65 6e 74 | 2c 20 74 68 65 20 0e 41 |pleEvent|, the .A|
|00003630| 70 70 6c 69 63 61 74 69 | 6f 6e 0f 03 41 70 70 6c |pplicati|on..Appl|
|00003640| 69 63 61 74 69 6f 6e 04 | 20 6f 62 6a 65 63 74 d5 |ication.| object.|
|00003650| 73 20 48 61 6e 64 6c 65 | 41 70 70 6c 65 45 76 65 |s Handle|AppleEve|
|00003660| 6e 74 20 65 76 65 6e 74 | 20 69 73 20 65 78 65 63 |nt event| is exec|
|00003670| 75 74 65 64 20 61 6e 64 | 20 74 68 65 20 41 70 70 |uted and| the App|
|00003680| 6c 65 45 76 65 6e 74 20 | 69 73 20 70 61 73 73 65 |leEvent |is passe|
|00003690| 64 20 74 6f 20 74 68 65 | 20 65 76 65 6e 74 20 61 |d to the| event a|
|000036a0| 73 20 61 20 70 61 72 61 | 6d 65 74 65 72 2e 20 46 |s a para|meter. F|
|000036b0| 6f 72 20 6d 6f 72 65 20 | 69 6e 66 6f 72 6d 61 74 |or more |informat|
|000036c0| 69 6f 6e 20 6f 6e 20 72 | 65 63 65 69 76 69 6e 67 |ion on r|eceiving|
|000036d0| 20 41 70 70 6c 65 45 76 | 65 6e 74 73 2c 20 73 65 | AppleEv|ents, se|
|000036e0| 65 20 0e 41 70 70 6c 69 | 63 61 74 69 6f 6e 0f 03 |e .Appli|cation..|
|000036f0| 41 70 70 6c 69 63 61 74 | 69 6f 6e 04 20 4f 62 6a |Applicat|ion. Obj|
|00003700| 65 63 74 2e 03 00 1b 01 | 52 65 70 6c 79 69 6e 67 |ect.....|Replying|
|00003710| 20 54 6f 20 41 6e 20 41 | 70 70 6c 65 45 76 65 6e | To An A|ppleEven|
|00003720| 74 02 03 01 a0 57 68 65 | 6e 20 61 6e 20 41 70 70 |t....Whe|n an App|
|00003730| 6c 65 45 76 65 6e 74 20 | 69 73 20 72 65 63 65 69 |leEvent |is recei|
|00003740| 76 65 64 20 28 76 69 61 | 20 61 6e 20 41 70 70 6c |ved (via| an Appl|
|00003750| 65 45 76 65 6e 74 20 68 | 61 6e 64 6c 65 72 29 20 |eEvent h|andler) |
|00003760| 74 68 65 20 52 65 70 6c | 79 42 6f 6f 6c 65 61 6e |the Repl|yBoolean|
|00003770| 2c 20 52 65 70 6c 79 49 | 6e 74 65 67 65 72 2c 20 |, ReplyI|nteger, |
|00003780| 61 6e 64 20 52 65 70 6c | 79 53 74 72 69 6e 67 20 |and Repl|yString |
|00003790| 70 72 6f 70 65 72 74 69 | 65 73 20 63 61 6e 20 62 |properti|es can b|
|000037a0| 65 20 75 73 65 64 20 74 | 6f 20 61 75 74 6f 6d 61 |e used t|o automa|
|000037b0| 74 69 63 61 6c 6c 79 20 | 73 65 6e 64 20 61 20 72 |tically |send a r|
|000037c0| 65 70 6c 79 20 62 61 63 | 6b 20 74 6f 20 74 68 65 |eply bac|k to the|
|000037d0| 20 61 70 70 6c 69 63 61 | 74 69 6f 6e 20 74 68 61 | applica|tion tha|
|000037e0| 74 20 73 65 6e 74 20 74 | 68 65 20 41 70 70 6c 65 |t sent t|he Apple|
|000037f0| 45 76 65 6e 74 2e 20 57 | 68 65 6e 20 73 65 6e 64 |Event. W|hen send|
|00003800| 69 6e 67 20 61 6e 20 41 | 70 70 6c 65 45 76 65 6e |ing an A|ppleEven|
|00003810| 74 20 28 76 69 61 20 74 | 68 65 20 53 65 6e 64 20 |t (via t|he Send |
|00003820| 6d 65 74 68 6f 64 29 20 | 74 68 65 20 52 65 70 6c |method) |the Repl|
|00003830| 79 42 6f 6f 6c 65 61 6e | 2c 20 52 65 70 6c 79 49 |yBoolean|, ReplyI|
|00003840| 6e 74 65 67 65 72 2c 20 | 61 6e 64 20 52 65 70 6c |nteger, |and Repl|
|00003850| 79 53 74 72 69 6e 67 20 | 70 72 6f 70 65 72 74 69 |yString |properti|
|00003860| 65 73 20 63 61 6e 20 62 | 65 20 75 73 65 64 20 74 |es can b|e used t|
|00003870| 6f 20 67 65 74 20 61 6e | 79 20 72 65 70 6c 79 20 |o get an|y reply |
|00003880| 74 68 65 20 74 61 72 67 | 65 74 20 61 70 70 6c 69 |the targ|et appli|
|00003890| 63 61 74 69 6f 6e 20 68 | 61 73 20 73 65 6e 74 20 |cation h|as sent |
|000038a0| 62 61 63 6b 20 6f 6e 63 | 65 20 69 74 20 72 65 63 |back onc|e it rec|
|000038b0| 65 69 76 65 73 20 74 68 | 65 20 41 70 70 6c 65 45 |eives th|e AppleE|
|000038c0| 76 65 6e 74 2e 03 01 08 | 46 6f 72 20 6d 6f 72 65 |vent....|For more|
|000038d0| 20 69 6e 66 6f 72 6d 61 | 74 69 6f 6e 20 6f 6e 20 | informa|tion on |
|000038e0| 41 70 70 6c 65 45 76 65 | 6e 74 73 2c 20 72 65 61 |AppleEve|nts, rea|
|000038f0| 64 20 d2 41 70 70 6c 65 | d5 73 20 49 6e 73 69 64 |d .Apple|.s Insid|
|00003900| 65 20 4d 61 63 69 6e 74 | 6f 73 68 3a 20 49 6e 74 |e Macint|osh: Int|
|00003910| 65 72 2d 61 70 70 6c 69 | 63 61 74 69 6f 6e 20 43 |er-appli|cation C|
|00003920| 6f 6d 6d 75 6e 69 63 61 | 74 69 6f 6e 73 d3 2e 20 |ommunica|tions.. |
|00003930| 59 6f 75 20 63 61 6e 20 | 64 6f 77 6e 6c 6f 61 64 |You can |download|
|00003940| 20 74 68 69 73 20 69 6e | 66 6f 72 6d 61 74 69 6f | this in|formatio|
|00003950| 6e 20 66 72 6f 6d 20 41 | 70 70 6c 65 d5 73 20 46 |n from A|pple.s F|
|00003960| 54 50 20 73 69 74 65 20 | 61 74 20 66 74 70 3a 2f |TP site |at ftp:/|
|00003970| 2f 66 74 70 2e 61 70 70 | 6c 65 2e 63 6f 6d 2f 64 |/ftp.app|le.com/d|
|00003980| 65 76 77 6f 72 6c 64 2f | 54 65 63 68 6e 69 63 61 |evworld/|Technica|
|00003990| 6c 5f 44 6f 63 75 6d 65 | 6e 74 61 74 69 6f 6e 2f |l_Docume|ntation/|
|000039a0| 49 6e 73 69 64 65 5f 4d | 61 63 69 6e 74 6f 73 68 |Inside_M|acintosh|
|000039b0| 2f 49 6e 74 65 72 61 70 | 70 6c 69 63 61 74 69 6f |/Interap|plicatio|
|000039c0| 6e 5f 43 6f 6d 6d 75 6e | 69 63 61 74 69 6f 6e 2f |n_Commun|ication/|
|000039d0| 02 00 08 45 78 61 6d 70 | 6c 65 73 03 00 58 54 68 |...Examp|les..XTh|
|000039e0| 69 73 20 65 78 61 6d 70 | 6c 65 20 75 73 65 73 20 |is examp|le uses |
|000039f0| 61 6e 20 41 70 70 6c 65 | 45 76 65 6e 74 20 74 6f |an Apple|Event to|
|00003a00| 20 74 65 6c 6c 20 74 68 | 65 20 46 69 6e 64 65 72 | tell th|e Finder|
|00003a10| 20 74 6f 20 6f 70 65 6e | 20 74 68 65 20 41 70 70 | to open| the App|
|00003a20| 65 61 72 61 6e 63 65 20 | 63 6f 6e 74 72 6f 6c 20 |earance |control |
|00003a30| 70 61 6e 65 6c 3a 06 00 | 1a 0e 44 69 6d 0f 03 44 |panel:..|..Dim..D|
|00003a40| 69 6d 04 20 61 20 61 73 | 20 41 70 70 6c 65 45 76 |im. a as| AppleEv|
|00003a50| 65 6e 74 06 00 3a 61 20 | 3d 20 0e 4e 65 77 41 70 |ent..:a |= .NewAp|
|00003a60| 70 6c 65 45 76 65 6e 74 | 0f 03 4e 65 77 41 70 70 |pleEvent|..NewApp|
|00003a70| 6c 65 45 76 65 6e 74 04 | 28 22 61 65 76 74 22 2c |leEvent.|("aevt",|
|00003a80| 20 22 6f 64 6f 63 22 2c | 20 22 4d 41 43 53 22 29 | "odoc",| "MACS")|
|00003a90| 06 00 41 61 2e 46 6f 6c | 64 65 72 49 74 65 6d 50 |..Aa.Fol|derItemP|
|00003aa0| 61 72 61 6d 28 22 2d 2d | 2d 2d 22 29 3d 43 6f 6e |aram("--|--")=Con|
|00003ab0| 74 72 6f 6c 50 61 6e 65 | 6c 73 46 6f 6c 64 65 72 |trolPane|lsFolder|
|00003ac0| 2e 43 68 69 6c 64 28 22 | 41 70 70 65 61 72 61 6e |.Child("|Appearan|
|00003ad0| 63 65 22 29 06 00 25 0e | 49 66 0f 03 49 66 04 20 |ce")..%.|If..If. |
|00003ae0| 0e 4e 6f 74 0f 03 4e 6f | 74 04 20 61 2e 53 65 6e |.Not..No|t. a.Sen|
|00003af0| 64 20 0e 49 66 0f 03 54 | 68 65 6e 04 06 00 46 20 |d .If..T|hen...F |
|00003b00| 20 0e 4d 73 67 42 6f 78 | 0f 03 4d 73 67 42 6f 78 | .MsgBox|..MsgBox|
|00003b10| 04 20 22 54 68 65 20 41 | 70 70 65 61 72 61 6e 63 |. "The A|ppearanc|
|00003b20| 65 20 63 6f 6e 74 72 6f | 6c 20 70 61 6e 65 6c 20 |e contro|l panel |
|00003b30| 63 6f 75 6c 64 20 6e 6f | 74 20 62 65 20 6f 70 65 |could no|t be ope|
|00003b40| 6e 65 64 2e 22 07 00 0c | 0e 49 66 0f 03 45 6e 64 |ned."...|.If..End|
|00003b50| 20 69 66 04 03 00 ee 49 | 6e 20 74 68 69 73 20 65 | if....I|n this e|
|00003b60| 78 61 6d 70 6c 65 2c 20 | 74 68 65 20 53 69 6d 70 |xample, |the Simp|
|00003b70| 6c 65 54 65 78 74 20 61 | 70 70 6c 69 63 61 74 69 |leText a|pplicati|
|00003b80| 6f 6e 20 28 77 68 69 63 | 68 20 6d 75 73 74 20 62 |on (whic|h must b|
|00003b90| 65 20 72 75 6e 6e 69 6e | 67 20 66 6f 72 20 74 68 |e runnin|g for th|
|00003ba0| 69 73 20 70 61 72 74 69 | 63 75 6c 61 72 20 65 78 |is parti|cular ex|
|00003bb0| 61 6d 70 6c 65 20 74 6f | 20 77 6f 72 6b 29 20 69 |ample to| work) i|
|00003bc0| 73 20 69 6e 73 74 72 75 | 63 74 65 64 20 74 6f 20 |s instru|cted to |
|00003bd0| 6f 70 65 6e 20 74 77 6f | 20 64 6f 63 75 6d 65 6e |open two| documen|
|00003be0| 74 73 20 28 d2 4d 79 20 | 44 6f 63 75 6d 65 6e 74 |ts (.My |Document|
|00003bf0| d3 20 61 6e 64 20 d2 4d | 79 20 4f 74 68 65 72 20 |. and .M|y Other |
|00003c00| 44 6f 63 75 6d 65 6e 74 | d3 29 20 74 68 61 74 20 |Document|.) that |
|00003c10| 61 72 65 20 6c 6f 63 61 | 74 65 64 20 69 6e 20 74 |are loca|ted in t|
|00003c20| 68 65 20 66 6f 6c 64 65 | 72 20 77 69 74 68 20 74 |he folde|r with t|
|00003c30| 68 65 20 52 45 41 4c 62 | 61 73 69 63 20 70 72 6f |he REALb|asic pro|
|00003c40| 6a 65 63 74 3a 06 00 28 | 0e 44 69 6d 0f 03 44 69 |ject:..(|.Dim..Di|
|00003c50| 6d 04 20 61 20 61 73 20 | 0e 41 70 70 6c 65 45 76 |m. a as |.AppleEv|
|00003c60| 65 6e 74 0f 03 41 70 70 | 6c 65 45 76 65 6e 74 04 |ent..App|leEvent.|
|00003c70| 06 00 3b 0e 44 69 6d 0f | 03 44 69 6d 04 20 6c 69 |..;.Dim.|.Dim. li|
|00003c80| 73 74 20 61 73 20 0e 41 | 70 70 6c 65 45 76 65 6e |st as .A|ppleEven|
|00003c90| 74 44 65 73 63 4c 69 73 | 74 0f 03 41 70 70 6c 65 |tDescLis|t..Apple|
|00003ca0| 45 76 65 6e 74 44 65 73 | 63 4c 69 73 74 04 06 00 |EventDes|cList...|
|00003cb0| 3a 61 20 3d 20 0e 4e 65 | 77 41 70 70 6c 65 45 76 |:a = .Ne|wAppleEv|
|00003cc0| 65 6e 74 0f 03 4e 65 77 | 41 70 70 6c 65 45 76 65 |ent..New|AppleEve|
|00003cd0| 6e 74 04 28 22 61 65 76 | 74 22 2c 20 22 6f 64 6f |nt.("aev|t", "odo|
|00003ce0| 63 22 2c 20 22 74 74 78 | 74 22 29 06 00 3a 6c 69 |c", "ttx|t")..:li|
|00003cf0| 73 74 20 3d 20 0e 4e 65 | 77 0f 03 4e 65 77 04 20 |st = .Ne|w..New. |
|00003d00| 0e 41 70 70 6c 65 45 76 | 65 6e 74 44 65 73 63 4c |.AppleEv|entDescL|
|00003d10| 69 73 74 0f 03 41 70 70 | 6c 65 45 76 65 6e 74 44 |ist..App|leEventD|
|00003d20| 65 73 63 4c 69 73 74 04 | 06 00 43 6c 69 73 74 2e |escList.|..Clist.|
|00003d30| 41 70 70 65 6e 64 46 6f | 6c 64 65 72 49 74 65 6d |AppendFo|lderItem|
|00003d40| 20 0e 47 65 74 46 6f 6c | 64 65 72 49 74 65 6d 0f | .GetFol|derItem.|
|00003d50| 03 47 65 74 46 6f 6c 64 | 65 72 49 74 65 6d 04 28 |.GetFold|erItem.(|
|00003d60| 22 4d 79 20 44 6f 63 75 | 6d 65 6e 74 22 29 06 00 |"My Docu|ment")..|
|00003d70| 49 6c 69 73 74 2e 41 70 | 70 65 6e 64 46 6f 6c 64 |Ilist.Ap|pendFold|
|00003d80| 65 72 49 74 65 6d 20 0e | 47 65 74 46 6f 6c 64 65 |erItem .|GetFolde|
|00003d90| 72 49 74 65 6d 0f 03 47 | 65 74 46 6f 6c 64 65 72 |rItem..G|etFolder|
|00003da0| 49 74 65 6d 04 28 22 4d | 79 20 4f 74 68 65 72 20 |Item.("M|y Other |
|00003db0| 44 6f 63 75 6d 65 6e 74 | 22 29 06 00 1e 61 2e 44 |Document|")...a.D|
|00003dc0| 65 73 63 4c 69 73 74 50 | 61 72 61 6d 28 22 2d 2d |escListP|aram("--|
|00003dd0| 2d 2d 22 29 20 3d 20 6c | 69 73 74 06 00 25 0e 49 |--") = l|ist..%.I|
|00003de0| 66 0f 03 49 66 04 20 0e | 4e 6f 74 0f 03 4e 6f 74 |f..If. .|Not..Not|
|00003df0| 04 20 61 2e 53 65 6e 64 | 20 0e 49 66 0f 03 54 68 |. a.Send| .If..Th|
|00003e00| 65 6e 04 06 00 36 20 20 | 0e 4d 73 67 42 6f 78 0f |en...6 |.MsgBox.|
|00003e10| 03 4d 73 67 42 6f 78 04 | 20 22 54 68 65 20 41 70 |.MsgBox.| "The Ap|
|00003e20| 70 6c 65 45 76 65 6e 74 | 20 63 6f 75 6c 64 20 6e |pleEvent| could n|
|00003e30| 6f 74 20 62 65 20 73 65 | 6e 74 2e 22 07 00 0c 0e |ot be se|nt."....|
|00003e40| 49 66 0f 03 45 6e 64 20 | 49 66 04 03 00 56 54 68 |If..End |If...VTh|
|00003e50| 69 73 20 65 78 61 6d 70 | 6c 65 20 64 69 73 70 6c |is examp|le displ|
|00003e60| 61 79 73 20 74 68 65 20 | 76 65 72 73 69 6f 6e 20 |ays the |version |
|00003e70| 6f 66 20 74 68 65 20 4d | 61 63 4f 53 20 74 68 61 |of the M|acOS tha|
|00003e80| 74 20 69 73 20 72 75 6e | 6e 69 6e 67 20 6f 6e 20 |t is run|ning on |
|00003e90| 74 68 65 20 75 73 65 72 | d5 73 20 63 6f 6d 70 75 |the user|.s compu|
|00003ea0| 74 65 72 3a 06 00 14 64 | 69 6d 20 61 65 20 61 73 |ter:...d|im ae as|
|00003eb0| 20 41 70 70 6c 65 45 76 | 65 6e 74 06 00 41 64 69 | AppleEv|ent..Adi|
|00003ec0| 6d 20 6f 62 6a 20 61 73 | 20 0e 41 70 70 6c 65 45 |m obj as| .AppleE|
|00003ed0| 76 65 6e 74 4f 62 6a 65 | 63 74 53 70 65 63 69 66 |ventObje|ctSpecif|
|00003ee0| 69 65 72 0f 03 41 70 70 | 6c 65 45 76 65 6e 74 4f |ier..App|leEventO|
|00003ef0| 62 6a 65 63 74 53 70 65 | 63 69 66 69 65 72 04 06 |bjectSpe|cifier..|
|00003f00| 00 15 64 69 6d 20 76 65 | 72 73 69 6f 6e 20 61 73 |..dim ve|rsion as|
|00003f10| 20 73 74 72 69 6e 67 06 | 00 39 61 65 20 3d 20 0e | string.|.9ae = .|
|00003f20| 4e 65 77 41 70 70 6c 65 | 45 76 65 6e 74 0f 03 4e |NewApple|Event..N|
|00003f30| 65 77 41 70 70 6c 65 45 | 76 65 6e 74 04 28 22 63 |ewAppleE|vent.("c|
|00003f40| 6f 72 65 22 2c 22 67 65 | 74 64 22 2c 22 4d 41 43 |ore","ge|td","MAC|
|00003f50| 53 22 29 06 00 4d 6f 62 | 6a 20 3d 20 0e 47 65 74 |S")..Mob|j = .Get|
|00003f60| 50 72 6f 70 65 72 74 79 | 4f 62 6a 65 63 74 44 65 |Property|ObjectDe|
|00003f70| 73 63 72 69 70 74 6f 72 | 0f 03 47 65 74 50 72 6f |scriptor|..GetPro|
|00003f80| 70 65 72 74 79 4f 62 6a | 65 63 74 44 65 73 63 72 |pertyObj|ectDescr|
|00003f90| 69 70 74 6f 72 04 28 6e | 69 6c 2c 20 22 76 65 72 |iptor.(n|il, "ver|
|00003fa0| 32 22 29 06 00 25 61 65 | 2e 4f 62 6a 65 63 74 53 |2")..%ae|.ObjectS|
|00003fb0| 70 65 63 69 66 69 65 72 | 50 61 72 61 6d 28 22 2d |pecifier|Param("-|
|00003fc0| 2d 2d 2d 22 29 20 3d 20 | 6f 62 6a 06 00 15 69 66 |---") = |obj...if|
|00003fd0| 20 6e 6f 74 20 61 65 2e | 73 65 6e 64 28 29 20 74 | not ae.|send() t|
|00003fe0| 68 65 6e 06 00 25 4d 73 | 67 42 6f 78 20 22 54 68 |hen..%Ms|gBox "Th|
|00003ff0| 65 20 65 76 65 6e 74 20 | 63 6f 75 6c 64 20 6e 6f |e event |could no|
|00004000| 74 20 62 65 20 73 65 6e | 74 2e 22 06 00 04 65 6c |t be sen|t."...el|
|00004010| 73 65 06 00 18 76 65 72 | 73 69 6f 6e 20 3d 20 61 |se...ver|sion = a|
|00004020| 65 2e 52 65 70 6c 79 53 | 74 72 69 6e 67 06 00 17 |e.ReplyS|tring...|
|00004030| 69 66 20 28 76 65 72 73 | 69 6f 6e 20 3c 3e 20 22 |if (vers|ion <> "|
|00004040| 22 29 20 74 68 65 6e 06 | 00 3e 4d 73 67 42 6f 78 |") then.|.>MsgBox|
|00004050| 20 22 54 68 65 20 73 79 | 73 74 65 6d 20 76 65 72 | "The sy|stem ver|
|00004060| 73 69 6f 6e 20 69 73 20 | 61 70 70 61 72 65 6e 74 |sion is |apparent|
|00004070| 6c 79 20 22 22 22 20 2b | 20 76 65 72 73 69 6f 6e |ly """ +| version|
|00004080| 20 2b 20 22 22 22 2e 22 | 06 00 04 65 6c 73 65 06 | + """."|...else.|
|00004090| 00 49 4d 73 67 42 6f 78 | 20 22 54 68 69 73 20 76 |.IMsgBox| "This v|
|000040a0| 65 72 73 69 6f 6e 20 6f | 66 20 74 68 65 20 73 79 |ersion o|f the sy|
|000040b0| 73 74 65 6d 20 73 6f 66 | 74 77 61 72 65 20 64 6f |stem sof|tware do|
|000040c0| 65 73 20 6e 6f 74 20 73 | 75 70 70 6f 72 74 20 74 |es not s|upport t|
|000040d0| 68 69 73 20 65 76 65 6e | 74 2e 22 06 00 06 65 6e |his even|t."...en|
|000040e0| 64 20 69 66 06 00 06 65 | 6e 64 20 69 66 02 00 08 |d if...e|nd if...|
|000040f0| 53 65 65 20 41 6c 73 6f | 03 00 ba 0e 41 70 70 6c |See Also|....Appl|
|00004100| 65 45 76 65 6e 74 44 65 | 73 63 4c 69 73 74 0f 03 |eEventDe|scList..|
|00004110| 41 70 70 6c 65 45 76 65 | 6e 74 44 65 73 63 4c 69 |AppleEve|ntDescLi|
|00004120| 73 74 04 20 02 43 6c 61 | 73 73 2c 20 0e 41 70 70 |st. .Cla|ss, .App|
|00004130| 6c 65 45 76 65 6e 74 4f | 62 6a 65 63 74 53 70 65 |leEventO|bjectSpe|
|00004140| 63 69 66 69 65 72 0f 03 | 41 70 70 6c 65 45 76 65 |cifier..|AppleEve|
|00004150| 6e 74 4f 62 6a 65 63 74 | 53 70 65 63 69 66 69 65 |ntObject|Specifie|
|00004160| 72 04 20 43 6c 61 73 73 | 2c 20 0e 41 70 70 6c 69 |r. Class|, .Appli|
|00004170| 63 61 74 69 6f 6e 0f 03 | 41 70 70 6c 69 63 61 74 |cation..|Applicat|
|00004180| 69 6f 6e 04 20 4f 62 6a | 65 63 74 2c 01 20 0e 4e |ion. Obj|ect,. .N|
|00004190| 65 77 41 70 70 6c 65 45 | 76 65 6e 74 0f 02 4e 65 |ewAppleE|vent..Ne|
|000041a0| 77 41 70 70 6c 65 45 76 | 65 6e 74 04 20 46 75 6e |wAppleEv|ent. Fun|
|000041b0| 63 74 69 6f 6e 0d 00 12 | 41 70 70 6c 65 45 76 65 |ction...|AppleEve|
|000041c0| 6e 74 44 65 73 63 4c 69 | 73 74 0c 00 3f 41 70 70 |ntDescLi|st..?App|
|000041d0| 6c 65 45 76 65 6e 74 73 | 3a 41 70 70 6c 65 45 76 |leEvents|:AppleEv|
|000041e0| 65 6e 74 44 65 73 63 4c | 69 73 74 20 43 6c 61 73 |entDescL|ist Clas|
|000041f0| 73 3b 43 6c 61 73 73 65 | 73 3a 41 70 70 6c 65 45 |s;Classe|s:AppleE|
|00004200| 76 65 6e 74 44 65 73 63 | 4c 69 73 74 0d 00 12 41 |ventDesc|List...A|
|00004210| 70 70 6c 65 45 76 65 6e | 74 44 65 73 63 4c 69 73 |ppleEven|tDescLis|
|00004220| 74 01 00 18 41 70 70 6c | 65 45 76 65 6e 74 44 65 |t...Appl|eEventDe|
|00004230| 73 63 4c 69 73 74 20 43 | 6c 61 73 73 03 00 47 55 |scList C|lass..GU|
|00004240| 73 65 64 20 74 6f 20 73 | 65 6e 64 20 63 6f 6d 70 |sed to s|end comp|
|00004250| 6c 65 78 20 69 6e 66 6f | 72 6d 61 74 69 6f 6e 20 |lex info|rmation |
|00004260| 74 6f 20 6f 74 68 65 72 | 20 61 70 70 6c 69 63 61 |to other| applica|
|00004270| 74 69 6f 6e 73 20 76 69 | 61 20 41 70 70 6c 65 45 |tions vi|a AppleE|
|00004280| 76 65 6e 74 73 2e 02 00 | 0b 53 75 70 65 72 20 43 |vents...|.Super C|
|00004290| 6c 61 73 73 03 00 10 0e | 4f 62 6a 65 63 74 0f 03 |lass....|Object..|
|000042a0| 4f 62 6a 65 63 74 04 02 | 00 0a 50 72 6f 70 65 72 |Object..|..Proper|
|000042b0| 74 69 65 73 04 00 04 4e | 61 6d 65 00 04 54 79 70 |ties...N|ame..Typ|
|000042c0| 65 00 0b 44 65 73 63 72 | 69 70 74 69 6f 6e ff 05 |e..Descr|iption..|
|000042d0| 00 05 43 6f 75 6e 74 00 | 07 49 6e 74 65 67 65 72 |..Count.|.Integer|
|000042e0| 00 20 54 68 65 20 6e 75 | 6d 62 65 72 20 6f 66 20 |. The nu|mber of |
|000042f0| 69 74 65 6d 73 20 69 6e | 20 74 68 65 20 6c 69 73 |items in| the lis|
|00004300| 74 2e ff 05 00 0e 46 6f | 6c 64 65 72 49 74 65 6d |t.....Fo|lderItem|
|00004310| 49 74 65 6d 00 10 49 6e | 64 65 78 20 61 73 20 49 |Item..In|dex as I|
|00004320| 6e 74 65 67 65 72 00 50 | 41 20 0e 46 6f 6c 64 65 |nteger.P|A .Folde|
|00004330| 72 49 74 65 6d 0f 03 46 | 6f 6c 64 65 72 49 74 65 |rItem..F|olderIte|
|00004340| 6d 04 20 61 72 72 61 79 | 20 74 6f 20 62 65 20 70 |m. array| to be p|
|00004350| 61 73 73 65 64 20 77 69 | 74 68 20 74 68 65 20 0e |assed wi|th the .|
|00004360| 41 70 70 6c 65 45 76 65 | 6e 74 0f 03 41 70 70 6c |AppleEve|nt..Appl|
|00004370| 65 45 76 65 6e 74 04 2e | ff 05 00 0b 49 6e 74 65 |eEvent..|....Inte|
|00004380| 67 65 72 49 74 65 6d 00 | 10 49 6e 64 65 78 20 61 |gerItem.|.Index a|
|00004390| 73 20 49 6e 74 65 67 65 | 72 00 40 41 6e 20 49 6e |s Intege|r.@An In|
|000043a0| 74 65 67 65 72 20 61 72 | 72 61 79 20 74 6f 20 62 |teger ar|ray to b|
|000043b0| 65 20 70 61 73 73 65 64 | 20 77 69 74 68 20 74 68 |e passed| with th|
|000043c0| 65 20 0e 41 70 70 6c 65 | 45 76 65 6e 74 0f 03 41 |e .Apple|Event..A|
|000043d0| 70 70 6c 65 45 76 65 6e | 74 04 2e ff 05 00 0a 52 |ppleEven|t......R|
|000043e0| 65 63 6f 72 64 49 74 65 | 6d 00 10 49 6e 64 65 78 |ecordIte|m..Index|
|000043f0| 20 61 73 20 49 6e 74 65 | 67 65 72 00 5d 41 6e 20 | as Inte|ger.]An |
|00004400| 0e 41 70 70 6c 65 45 76 | 65 6e 74 52 65 63 6f 72 |.AppleEv|entRecor|
|00004410| 64 0f 03 41 70 70 6c 65 | 45 76 65 6e 74 52 65 63 |d..Apple|EventRec|
|00004420| 6f 72 64 04 20 61 72 72 | 61 79 20 74 6f 20 62 65 |ord. arr|ay to be|
|00004430| 20 70 61 73 73 65 64 20 | 77 69 74 68 20 74 68 65 | passed |with the|
|00004440| 20 0e 41 70 70 6c 65 45 | 76 65 6e 74 0f 03 41 70 | .AppleE|vent..Ap|
|00004450| 70 6c 65 45 76 65 6e 74 | 04 2e ff 05 00 0a 53 74 |pleEvent|......St|
|00004460| 72 69 6e 67 49 74 65 6d | 00 10 49 6e 64 65 78 20 |ringItem|..Index |
|00004470| 61 73 20 49 6e 74 65 67 | 65 72 00 42 41 20 53 74 |as Integ|er.BA St|
|00004480| 72 69 6e 67 49 74 65 6d | 20 61 72 72 61 79 20 74 |ringItem| array t|
|00004490| 6f 20 62 65 20 70 61 73 | 73 65 64 20 77 69 74 68 |o be pas|sed with|
|000044a0| 20 74 68 65 20 0e 41 70 | 70 6c 65 45 76 65 6e 74 | the .Ap|pleEvent|
|000044b0| 0f 03 41 70 70 6c 65 45 | 76 65 6e 74 04 2e ff 02 |..AppleE|vent....|
|000044c0| 00 07 4d 65 74 68 6f 64 | 73 04 00 04 4e 61 6d 65 |..Method|s...Name|
|000044d0| 00 0a 50 61 72 61 6d 65 | 74 65 72 73 00 0b 44 65 |..Parame|ters..De|
|000044e0| 73 63 72 69 70 74 69 6f | 6e ff 05 00 0d 41 70 70 |scriptio|n....App|
|000044f0| 65 6e 64 42 6f 6f 6c 65 | 61 6e 00 10 56 61 6c 75 |endBoole|an..Valu|
|00004500| 65 20 61 73 20 42 6f 6f | 6c 65 61 6e 00 25 41 64 |e as Boo|lean.%Ad|
|00004510| 64 73 20 61 20 6e 65 77 | 20 62 6f 6f 6c 65 61 6e |ds a new| boolean|
|00004520| 20 76 61 6c 75 65 20 74 | 6f 20 74 68 65 20 61 72 | value t|o the ar|
|00004530| 72 61 79 ff 05 00 0e 41 | 70 70 65 6e 64 44 65 73 |ray....A|ppendDes|
|00004540| 63 4c 69 73 74 00 1b 56 | 61 6c 75 65 20 61 73 20 |cList..V|alue as |
|00004550| 41 70 70 6c 65 45 76 65 | 6e 74 44 65 73 63 4c 69 |AppleEve|ntDescLi|
|00004560| 73 74 00 31 41 64 64 73 | 20 61 20 6e 65 77 20 41 |st.1Adds| a new A|
|00004570| 70 70 6c 65 45 76 65 6e | 74 44 65 73 63 4c 69 73 |ppleEven|tDescLis|
|00004580| 74 20 76 61 6c 75 65 20 | 74 6f 20 74 68 65 20 61 |t value |to the a|
|00004590| 72 72 61 79 2e ff 05 00 | 10 41 70 70 65 6e 64 46 |rray....|.AppendF|
|000045a0| 6f 6c 64 65 72 49 74 65 | 6d 00 21 56 61 6c 75 65 |olderIte|m.!Value|
|000045b0| 20 61 73 20 0e 46 6f 6c | 64 65 72 49 74 65 6d 0f | as .Fol|derItem.|
|000045c0| 03 46 6f 6c 64 65 72 49 | 74 65 6d 04 00 49 41 64 |.FolderI|tem..IAd|
|000045d0| 64 73 20 61 20 6e 65 77 | 20 0e 46 6f 6c 64 65 72 |ds a new| .Folder|
|000045e0| 49 74 65 6d 0f 03 66 6f | 6c 64 65 72 49 74 65 6d |Item..fo|lderItem|
|000045f0| 04 20 74 6f 20 74 68 65 | 20 46 6f 6c 64 65 72 49 |. to the| FolderI|
|00004600| 74 65 6d 49 74 65 6d 20 | 61 72 72 61 79 20 70 72 |temItem |array pr|
|00004610| 6f 70 65 72 74 79 2e ff | 05 00 0d 41 70 70 65 6e |operty..|...Appen|
|00004620| 64 49 6e 74 65 67 65 72 | 00 10 56 61 6c 75 65 20 |dInteger|..Value |
|00004630| 61 73 20 49 6e 74 65 67 | 65 72 00 35 41 64 64 73 |as Integ|er.5Adds|
|00004640| 20 61 20 6e 65 77 20 49 | 6e 74 65 67 65 72 20 74 | a new I|nteger t|
|00004650| 6f 20 74 68 65 20 49 6e | 74 65 67 65 72 49 74 65 |o the In|tegerIte|
|00004660| 6d 20 61 72 72 61 79 20 | 70 72 6f 70 65 72 74 79 |m array |property|
|00004670| 2e ff 05 00 15 41 70 70 | 65 6e 64 4f 62 6a 65 63 |.....App|endObjec|
|00004680| 74 53 70 65 63 69 66 69 | 65 72 00 3f 56 61 6c 75 |tSpecifi|er.?Valu|
|00004690| 65 20 61 73 20 0e 41 70 | 70 6c 65 45 76 65 6e 74 |e as .Ap|pleEvent|
|000046a0| 4f 62 6a 65 63 74 53 70 | 65 63 69 66 69 65 72 0f |ObjectSp|ecifier.|
|000046b0| 03 41 70 70 6c 65 45 76 | 65 6e 74 4f 62 6a 65 63 |.AppleEv|entObjec|
|000046c0| 74 53 70 65 63 69 66 69 | 65 72 04 00 39 41 64 64 |tSpecifi|er..9Add|
|000046d0| 73 20 61 20 6e 65 77 20 | 41 70 70 6c 65 45 76 65 |s a new |AppleEve|
|000046e0| 6e 74 4f 62 6a 65 63 74 | 53 70 65 63 69 66 69 65 |ntObject|Specifie|
|000046f0| 72 20 6f 62 6a 65 63 74 | 20 74 6f 20 74 68 65 20 |r object| to the |
|00004700| 61 72 72 61 79 2e ff 05 | 00 0c 41 70 70 65 6e 64 |array...|..Append|
|00004710| 52 65 63 6f 72 64 00 2d | 56 61 6c 75 65 20 61 73 |Record.-|Value as|
|00004720| 20 0e 41 70 70 6c 65 45 | 76 65 6e 74 52 65 63 6f | .AppleE|ventReco|
|00004730| 72 64 0f 03 41 70 70 6c | 65 45 76 65 6e 74 52 65 |rd..Appl|eEventRe|
|00004740| 63 6f 72 64 04 00 51 41 | 64 64 73 20 61 20 6e 65 |cord..QA|dds a ne|
|00004750| 77 20 0e 41 70 70 6c 65 | 45 76 65 6e 74 52 65 63 |w .Apple|EventRec|
|00004760| 6f 72 64 0f 03 41 70 70 | 6c 65 45 76 65 6e 74 52 |ord..App|leEventR|
|00004770| 65 63 6f 72 64 04 20 74 | 6f 20 74 68 65 20 52 65 |ecord. t|o the Re|
|00004780| 63 6f 72 64 49 74 65 6d | 20 61 72 72 61 79 20 70 |cordItem| array p|
|00004790| 72 6f 70 65 72 74 79 2e | ff 05 00 0c 41 70 70 65 |roperty.|....Appe|
|000047a0| 6e 64 53 74 72 69 6e 67 | 00 0f 56 61 6c 75 65 20 |ndString|..Value |
|000047b0| 61 73 20 53 74 72 69 6e | 67 00 33 41 64 64 73 20 |as Strin|g.3Adds |
|000047c0| 61 20 6e 65 77 20 53 74 | 72 69 6e 67 20 74 6f 20 |a new St|ring to |
|000047d0| 74 68 65 20 53 74 72 69 | 6e 67 49 74 65 6d 20 61 |the Stri|ngItem a|
|000047e0| 72 72 61 79 20 70 72 6f | 70 65 72 74 79 2e ff 05 |rray pro|perty...|
|000047f0| 00 0b 42 6f 6f 6c 65 61 | 6e 49 74 65 6d 00 10 49 |..Boolea|nItem..I|
|00004800| 6e 64 65 78 20 61 73 20 | 49 6e 74 65 67 65 72 00 |ndex as |Integer.|
|00004810| 1b 52 65 74 75 72 6e 73 | 20 42 6f 6f 6c 65 61 6e |.Returns| Boolean|
|00004820| 20 49 6e 64 65 78 20 69 | 74 65 6d 2e ff 05 00 0c | Index i|tem.....|
|00004830| 44 65 73 63 4c 69 73 74 | 49 74 65 6d 00 10 49 6e |DescList|Item..In|
|00004840| 64 65 78 20 61 73 20 49 | 6e 74 65 67 65 72 00 25 |dex as I|nteger.%|
|00004850| 52 65 74 72 75 6e 73 20 | 41 70 70 6c 65 45 76 65 |Retruns |AppleEve|
|00004860| 6e 74 44 65 73 63 4c 69 | 73 74 20 49 6e 64 65 78 |ntDescLi|st Index|
|00004870| 20 69 74 65 6d ff 05 00 | 13 4f 62 6a 65 63 74 53 | item...|.ObjectS|
|00004880| 70 65 63 69 66 69 65 72 | 49 74 65 6d 00 10 49 6e |pecifier|Item..In|
|00004890| 64 65 78 20 61 73 20 49 | 6e 74 65 67 65 72 00 2c |dex as I|nteger.,|
|000048a0| 52 65 74 75 72 6e 73 20 | 41 70 70 6c 65 45 76 65 |Returns |AppleEve|
|000048b0| 6e 74 4f 62 6a 65 63 74 | 53 70 65 63 69 66 69 65 |ntObject|Specifie|
|000048c0| 72 20 49 6e 64 65 78 20 | 69 74 65 6d ff 02 00 08 |r Index |item....|
|000048d0| 45 78 61 6d 70 6c 65 73 | 03 00 36 53 65 65 20 74 |Examples|..6See t|
|000048e0| 68 65 20 0e 41 70 70 6c | 65 45 76 65 6e 74 0f 03 |he .Appl|eEvent..|
|000048f0| 41 70 70 6c 65 45 76 65 | 6e 74 04 20 63 6c 61 73 |AppleEve|nt. clas|
|00004900| 73 20 66 6f 72 20 61 6e | 20 65 78 61 6d 70 6c 65 |s for an| example|
|00004910| 2e 02 00 08 53 65 65 20 | 41 6c 73 6f 03 00 73 0e |....See |Also..s.|
|00004920| 41 70 70 6c 65 45 76 65 | 6e 74 0f 03 41 70 70 6c |AppleEve|nt..Appl|
|00004930| 65 45 76 65 6e 74 04 20 | 43 6c 61 73 73 2c 20 0e |eEvent. |Class, .|
|00004940| 41 70 70 6c 65 45 76 65 | 6e 74 52 65 63 6f 72 64 |AppleEve|ntRecord|
|00004950| 0f 03 41 70 70 6c 65 45 | 76 65 6e 74 52 65 63 6f |..AppleE|ventReco|
|00004960| 72 64 04 20 43 6c 61 73 | 73 2c 20 0e 4e 65 77 41 |rd. Clas|s, .NewA|
|00004970| 70 70 6c 65 45 76 65 6e | 74 0f 03 4e 65 77 41 70 |ppleEven|t..NewAp|
|00004980| 70 6c 65 45 76 65 6e 74 | 04 20 46 75 6e 63 74 69 |pleEvent|. Functi|
|00004990| 6f 6e 0d 00 12 41 70 70 | 6c 65 45 76 65 6e 74 54 |on...App|leEventT|
|000049a0| 65 6d 70 6c 61 74 65 0c | 00 3a 41 70 70 6c 65 45 |emplate.|.:AppleE|
|000049b0| 76 65 6e 74 73 3a 41 70 | 70 6c 65 45 76 65 6e 74 |vents:Ap|pleEvent|
|000049c0| 54 65 6d 70 6c 61 74 65 | 20 43 6c 61 73 73 3b 43 |Template| Class;C|
|000049d0| 6c 61 73 73 65 73 3a 41 | 70 70 6c 65 54 65 6d 70 |lasses:A|ppleTemp|
|000049e0| 6c 61 74 65 01 00 18 41 | 70 70 6c 65 45 76 65 6e |late...A|ppleEven|
|000049f0| 74 54 65 6d 70 6c 61 74 | 65 20 43 6c 61 73 73 03 |tTemplat|e Class.|
|00004a00| 00 62 41 70 70 6c 65 45 | 76 65 6e 74 54 65 6d 70 |.bAppleE|ventTemp|
|00004a10| 6c 61 74 65 20 6f 62 6a | 65 63 74 73 20 61 72 65 |late obj|ects are|
|00004a20| 20 63 72 65 61 74 65 64 | 20 75 73 69 6e 67 20 74 | created| using t|
|00004a30| 68 65 20 6e 65 77 20 6f | 70 65 72 61 74 6f 72 20 |he new o|perator |
|00004a40| 74 68 61 74 20 74 68 61 | 73 20 62 65 65 6e 20 61 |that tha|s been a|
|00004a50| 64 64 65 64 20 74 6f 20 | 74 68 65 20 70 72 6f 6a |dded to |the proj|
|00004a60| 65 63 74 2e 02 00 0b 53 | 75 70 65 72 20 43 6c 61 |ect....S|uper Cla|
|00004a70| 73 73 03 00 10 0e 4f 62 | 6a 65 63 74 0f 03 4f 62 |ss....Ob|ject..Ob|
|00004a80| 6a 65 63 74 04 02 00 0a | 50 72 6f 70 65 72 74 69 |ject....|Properti|
|00004a90| 65 73 04 00 04 4e 61 6d | 65 00 0a 50 61 72 61 6d |es...Nam|e..Param|
|00004aa0| 65 74 65 72 73 00 0b 44 | 65 73 63 72 69 70 74 69 |eters..D|escripti|
|00004ab0| 6f 6e ff 05 00 0c 49 6e | 74 65 67 65 72 50 61 72 |on....In|tegerPar|
|00004ac0| 61 6d 00 0e 4e 61 6d 65 | 20 61 73 20 53 74 72 69 |am..Name| as Stri|
|00004ad0| 6e 67 00 3a 41 6e 20 69 | 6e 74 65 67 65 72 20 62 |ng.:An i|nteger b|
|00004ae0| 65 69 6e 67 20 70 61 73 | 73 65 64 20 61 73 20 61 |eing pas|sed as a|
|00004af0| 20 70 61 72 61 6d 65 74 | 65 72 20 69 6e 20 74 68 | paramet|er in th|
|00004b00| 65 20 41 70 70 6c 65 20 | 45 76 65 6e 74 2e ff 05 |e Apple |Event...|
|00004b10| 00 0b 53 74 72 69 6e 67 | 50 61 72 61 6d 00 0e 4e |..String|Param..N|
|00004b20| 61 6d 65 20 61 73 20 53 | 74 72 69 6e 67 00 38 41 |ame as S|tring.8A|
|00004b30| 20 73 74 72 69 6e 67 20 | 62 65 69 6e 67 20 70 61 | string |being pa|
|00004b40| 73 73 65 64 20 61 73 20 | 61 20 70 61 72 61 6d 65 |ssed as |a parame|
|00004b50| 74 65 72 20 69 6e 20 74 | 68 65 20 41 70 70 6c 65 |ter in t|he Apple|
|00004b60| 20 45 76 65 6e 74 2e ff | 05 00 0f 46 6f 6c 64 65 | Event..|...Folde|
|00004b70| 72 49 74 65 6d 50 61 72 | 61 6d 00 0e 4e 61 6d 65 |rItemPar|am..Name|
|00004b80| 20 61 73 20 53 74 72 69 | 6e 67 00 3c 41 20 46 6f | as Stri|ng.<A Fo|
|00004b90| 6c 64 65 72 49 74 65 6d | 20 62 65 69 6e 67 20 70 |lderItem| being p|
|00004ba0| 61 73 73 65 64 20 61 73 | 20 61 20 70 61 72 61 6d |assed as| a param|
|00004bb0| 65 74 65 72 20 69 6e 20 | 74 68 65 20 41 70 70 6c |eter in |the Appl|
|00004bc0| 65 20 45 76 65 6e 74 2e | ff 0d 00 19 41 70 70 6c |e Event.|....Appl|
|00004bd0| 65 45 76 65 6e 74 4f 62 | 6a 65 63 74 53 70 65 63 |eEventOb|jectSpec|
|00004be0| 69 66 69 65 72 0c 00 4d | 41 70 70 6c 65 45 76 65 |ifier..M|AppleEve|
|00004bf0| 6e 74 73 3a 41 70 70 6c | 65 45 76 65 6e 74 4f 62 |nts:Appl|eEventOb|
|00004c00| 6a 65 63 74 53 70 65 63 | 69 66 69 65 72 20 43 6c |jectSpec|ifier Cl|
|00004c10| 61 73 73 3b 43 6c 61 73 | 73 65 73 3a 41 70 70 6c |ass;Clas|ses:Appl|
|00004c20| 65 45 76 65 6e 74 4f 62 | 6a 65 63 74 53 70 65 63 |eEventOb|jectSpec|
|00004c30| 69 66 69 65 72 0c 00 4d | 41 70 70 6c 65 45 76 65 |ifier..M|AppleEve|
|00004c40| 6e 74 73 3a 41 70 70 6c | 65 45 76 65 6e 74 4f 62 |nts:Appl|eEventOb|
|00004c50| 6a 65 63 74 53 70 65 63 | 69 66 69 65 72 20 43 6c |jectSpec|ifier Cl|
|00004c60| 61 73 73 3b 43 6c 61 73 | 73 65 73 3a 41 70 70 6c |ass;Clas|ses:Appl|
|00004c70| 65 45 76 65 6e 74 4f 62 | 6a 65 63 74 53 70 65 63 |eEventOb|jectSpec|
|00004c80| 69 66 69 65 72 01 00 1f | 41 70 70 6c 65 45 76 65 |ifier...|AppleEve|
|00004c90| 6e 74 4f 62 6a 65 63 74 | 53 70 65 63 69 66 69 65 |ntObject|Specifie|
|00004ca0| 72 20 43 6c 61 73 73 03 | 00 66 41 6e 20 41 70 70 |r Class.|.fAn App|
|00004cb0| 6c 65 45 76 65 6e 74 4f | 62 6a 65 63 74 53 70 65 |leEventO|bjectSpe|
|00004cc0| 63 69 66 69 65 72 20 73 | 70 65 63 69 66 69 65 73 |cifier s|pecifies|
|00004cd0| 20 61 6e 20 6f 62 6a 65 | 63 74 20 74 68 61 74 20 | an obje|ct that |
|00004ce0| 61 6e 20 0e 41 70 70 6c | 65 45 76 65 6e 74 0f 03 |an .Appl|eEvent..|
|00004cf0| 41 70 70 6c 65 45 76 65 | 6e 74 04 20 63 61 6e 20 |AppleEve|nt. can |
|00004d00| 62 65 20 70 65 72 66 6f | 72 6d 65 64 20 6f 6e 2e |be perfo|rmed on.|
|00004d10| 02 00 05 53 75 70 65 72 | 03 00 10 0e 4f 62 6a 65 |...Super|....Obje|
|00004d20| 63 74 0f 03 4f 62 6a 65 | 63 74 04 02 00 0a 50 72 |ct..Obje|ct....Pr|
|00004d30| 6f 70 65 72 74 69 65 73 | 03 00 04 4e 6f 6e 65 02 |operties|...None.|
|00004d40| 00 06 45 76 65 6e 74 73 | 03 00 04 4e 6f 6e 65 02 |..Events|...None.|
|00004d50| 00 07 4d 65 74 68 6f 64 | 73 03 00 04 4e 6f 6e 65 |..Method|s...None|
|00004d60| 02 00 05 4e 6f 74 65 73 | 03 00 f6 41 6e 20 41 70 |...Notes|...An Ap|
|00004d70| 70 6c 65 45 76 65 6e 74 | 4f 62 6a 65 63 74 53 70 |pleEvent|ObjectSp|
|00004d80| 65 63 69 66 69 65 72 20 | 63 61 6e 20 72 65 70 72 |ecifier |can repr|
|00004d90| 65 73 65 6e 74 20 61 6e | 79 20 6f 62 6a 65 63 74 |esent an|y object|
|00004da0| 20 73 75 63 68 20 61 73 | 20 61 20 64 6f 63 75 6d | such as| a docum|
|00004db0| 65 6e 74 20 6f 72 20 61 | 20 70 75 73 68 62 75 74 |ent or a| pushbut|
|00004dc0| 74 6f 6e 2e 20 41 70 70 | 6c 65 45 76 65 6e 74 4f |ton. App|leEventO|
|00004dd0| 62 6a 65 63 74 53 70 65 | 63 69 66 65 72 73 20 61 |bjectSpe|cifers a|
|00004de0| 72 65 20 72 65 74 75 72 | 6e 65 64 20 62 79 20 73 |re retur|ned by s|
|00004df0| 65 76 65 72 61 6c 20 66 | 75 6e 63 74 69 6f 6e 73 |everal f|unctions|
|00004e00| 20 61 6e 64 20 61 72 65 | 20 70 61 73 73 65 64 20 | and are| passed |
|00004e10| 74 6f 20 74 68 65 20 4f | 62 6a 65 63 74 53 70 65 |to the O|bjectSpe|
|00004e20| 63 69 66 69 65 72 50 61 | 72 61 6d 20 70 72 6f 70 |cifierPa|ram prop|
|00004e30| 65 72 74 79 20 6f 66 20 | 61 6e 20 0e 41 70 70 6c |erty of |an .Appl|
|00004e40| 65 45 76 65 6e 74 0f 03 | 41 70 70 6c 65 45 76 65 |eEvent..|AppleEve|
|00004e50| 6e 74 04 20 43 6c 61 73 | 73 20 6f 62 6a 65 63 74 |nt. Clas|s object|
|00004e60| 2e 02 00 08 45 78 61 6d | 70 6c 65 73 03 00 38 53 |....Exam|ples..8S|
|00004e70| 65 65 20 74 68 65 20 65 | 78 61 6d 70 6c 65 73 20 |ee the e|xamples |
|00004e80| 66 6f 72 20 74 68 65 20 | 0e 41 70 70 6c 65 45 76 |for the |.AppleEv|
|00004e90| 65 6e 74 0f 03 41 70 70 | 6c 65 45 76 65 6e 74 04 |ent..App|leEvent.|
|00004ea0| 20 43 6c 61 73 73 2e 02 | 00 08 53 65 65 20 41 6c | Class..|..See Al|
|00004eb0| 73 6f 03 01 fd 0e 41 70 | 70 6c 65 45 76 65 6e 74 |so....Ap|pleEvent|
|00004ec0| 0f 03 41 70 70 6c 65 45 | 76 65 6e 74 04 20 43 6c |..AppleE|vent. Cl|
|00004ed0| 61 73 73 2c 20 0e 47 65 | 74 49 6e 64 65 78 65 64 |ass, .Ge|tIndexed|
|00004ee0| 4f 62 6a 65 63 74 44 65 | 73 63 72 69 70 74 6f 72 |ObjectDe|scriptor|
|00004ef0| 0f 03 47 65 74 49 6e 64 | 65 78 65 64 4f 62 6a 65 |..GetInd|exedObje|
|00004f00| 63 74 44 65 73 63 72 69 | 70 74 6f 72 04 20 02 46 |ctDescri|ptor. .F|
|00004f10| 75 6e 63 74 69 6f 6e 2c | 01 20 0e 47 65 74 4e 61 |unction,|. .GetNa|
|00004f20| 6d 65 64 4f 62 6a 65 63 | 74 44 65 73 63 72 69 70 |medObjec|tDescrip|
|00004f30| 74 6f 72 0f 02 47 65 74 | 4e 61 6d 65 64 4f 62 6a |tor..Get|NamedObj|
|00004f40| 65 63 74 44 65 73 63 72 | 69 70 74 6f 72 04 20 46 |ectDescr|iptor. F|
|00004f50| 75 6e 63 74 69 6f 6e 2c | 20 0e 47 65 74 4f 72 64 |unction,| .GetOrd|
|00004f60| 69 6e 61 6c 4f 62 6a 65 | 63 74 44 65 73 63 72 69 |inalObje|ctDescri|
|00004f70| 70 74 6f 72 0f 03 47 65 | 74 4f 72 64 69 6e 61 6c |ptor..Ge|tOrdinal|
|00004f80| 4f 62 6a 65 63 74 44 65 | 73 63 72 69 70 74 6f 72 |ObjectDe|scriptor|
|00004f90| 04 20 02 46 75 6e 63 74 | 69 6f 6e 2c 01 20 0e 47 |. .Funct|ion,. .G|
|00004fa0| 65 74 50 72 6f 70 65 72 | 74 79 4f 62 6a 65 63 74 |etProper|tyObject|
|00004fb0| 44 65 73 63 72 69 70 74 | 6f 72 0f 02 47 65 74 50 |Descript|or..GetP|
|00004fc0| 72 6f 70 65 72 74 79 4f | 62 6a 65 63 74 44 65 73 |ropertyO|bjectDes|
|00004fd0| 63 72 69 70 74 6f 72 04 | 20 46 75 6e 63 74 69 6f |criptor.| Functio|
|00004fe0| 6e 2c 20 0e 47 65 74 52 | 61 6e 67 65 4f 62 6a 65 |n, .GetR|angeObje|
|00004ff0| 63 74 44 65 73 63 72 69 | 70 74 6f 72 0f 03 47 65 |ctDescri|ptor..Ge|
|00005000| 74 52 61 6e 67 65 4f 62 | 6a 65 63 74 44 65 73 63 |tRangeOb|jectDesc|
|00005010| 72 69 70 74 6f 72 04 20 | 46 75 6e 63 74 69 6f 6e |riptor. |Function|
|00005020| 2c 20 0e 47 65 74 53 74 | 72 69 6e 67 43 6f 6d 70 |, .GetSt|ringComp|
|00005030| 61 72 69 73 6f 6e 4f 62 | 6a 65 63 74 44 65 73 63 |arisonOb|jectDesc|
|00005040| 72 69 70 74 6f 72 0f 03 | 47 65 74 53 74 72 69 6e |riptor..|GetStrin|
|00005050| 67 43 6f 6d 70 61 72 69 | 73 6f 6e 4f 62 6a 65 63 |gCompari|sonObjec|
|00005060| 74 44 65 73 63 72 69 70 | 74 6f 72 04 20 46 75 6e |tDescrip|tor. Fun|
|00005070| 63 74 69 6f 6e 2c 20 0e | 47 65 74 54 65 73 74 4f |ction, .|GetTestO|
|00005080| 62 6a 65 63 74 44 65 73 | 63 72 69 70 74 6f 72 0f |bjectDes|criptor.|
|00005090| 03 47 65 74 54 65 73 74 | 4f 62 6a 65 63 74 44 65 |.GetTest|ObjectDe|
|000050a0| 73 63 72 69 70 74 6f 72 | 04 20 46 75 6e 63 74 69 |scriptor|. Functi|
|000050b0| 6f 6e 0d 00 10 41 70 70 | 6c 65 45 76 65 6e 74 52 |on...App|leEventR|
|000050c0| 65 63 6f 72 64 0c 00 3b | 41 70 70 6c 65 45 76 65 |ecord..;|AppleEve|
|000050d0| 6e 74 73 3a 41 70 70 6c | 65 45 76 65 6e 74 52 65 |nts:Appl|eEventRe|
|000050e0| 63 6f 72 64 20 43 6c 61 | 73 73 3b 43 6c 61 73 73 |cord Cla|ss;Class|
|000050f0| 65 73 3a 41 70 70 6c 65 | 45 76 65 6e 74 52 65 63 |es:Apple|EventRec|
|00005100| 6f 72 64 0c 00 3b 41 70 | 70 6c 65 45 76 65 6e 74 |ord..;Ap|pleEvent|
|00005110| 73 3a 41 70 70 6c 65 45 | 76 65 6e 74 52 65 63 6f |s:AppleE|ventReco|
|00005120| 72 64 20 43 6c 61 73 73 | 3b 43 6c 61 73 73 65 73 |rd Class|;Classes|
|00005130| 3a 41 70 70 6c 65 45 76 | 65 6e 74 52 65 63 6f 72 |:AppleEv|entRecor|
|00005140| 64 01 00 16 41 70 70 6c | 65 45 76 65 6e 74 52 65 |d...Appl|eEventRe|
|00005150| 63 6f 72 64 20 43 6c 61 | 73 73 03 00 6b 41 20 72 |cord Cla|ss..kA r|
|00005160| 65 63 6f 72 64 20 74 68 | 61 74 20 63 6f 6e 74 61 |ecord th|at conta|
|00005170| 69 6e 73 20 61 20 73 65 | 72 69 65 73 20 6f 66 20 |ins a se|ries of |
|00005180| 64 69 66 66 65 72 65 6e | 74 20 64 61 74 61 20 74 |differen|t data t|
|00005190| 79 70 65 73 2e 20 41 70 | 70 6c 65 45 76 65 6e 74 |ypes. Ap|pleEvent|
|000051a0| 52 65 63 6f 72 64 73 20 | 63 61 6e 20 62 65 20 70 |Records |can be p|
|000051b0| 61 73 73 65 64 20 75 73 | 69 6e 67 20 41 70 70 6c |assed us|ing Appl|
|000051c0| 65 45 76 65 6e 74 73 2e | 02 00 05 53 75 70 65 72 |eEvents.|...Super|
|000051d0| 03 00 10 0e 4f 62 6a 65 | 63 74 0f 03 4f 62 6a 65 |....Obje|ct..Obje|
|000051e0| 63 74 04 02 00 0a 50 72 | 6f 70 65 72 74 69 65 73 |ct....Pr|operties|
|000051f0| 04 00 04 4e 61 6d 65 00 | 04 54 79 70 65 00 0b 44 |...Name.|.Type..D|
|00005200| 65 73 63 72 69 70 74 69 | 6f 6e ff 05 00 0c 42 6f |escripti|on....Bo|
|00005210| 6f 6c 65 61 6e 50 61 72 | 61 6d 00 17 50 61 72 61 |oleanPar|am..Para|
|00005220| 6d 65 74 65 72 4e 61 6d | 65 20 61 73 20 53 74 72 |meterNam|e as Str|
|00005230| 69 6e 67 00 3e 41 20 62 | 6f 6f 6c 65 61 6e 20 62 |ing.>A b|oolean b|
|00005240| 65 69 6e 67 20 70 61 73 | 73 65 64 20 61 73 20 61 |eing pas|sed as a|
|00005250| 20 70 61 72 61 6d 65 74 | 65 72 20 69 6e 20 74 68 | paramet|er in th|
|00005260| 65 20 41 70 70 6c 65 45 | 76 65 6e 74 52 65 63 6f |e AppleE|ventReco|
|00005270| 72 64 2e ff 05 00 0d 44 | 65 73 63 4c 69 73 74 50 |rd.....D|escListP|
|00005280| 61 72 61 6d 00 17 50 61 | 72 61 6d 65 74 65 72 4e |aram..Pa|rameterN|
|00005290| 61 6d 65 20 61 73 20 53 | 74 72 69 6e 67 00 67 41 |ame as S|tring.gA|
|000052a0| 6e 20 0e 41 70 70 6c 65 | 45 76 65 6e 74 44 65 73 |n .Apple|EventDes|
|000052b0| 63 4c 69 73 74 0f 03 41 | 70 70 6c 65 45 76 65 6e |cList..A|ppleEven|
|000052c0| 74 44 65 73 63 4c 69 73 | 74 04 20 6f 62 6a 65 63 |tDescLis|t. objec|
|000052d0| 74 20 62 65 69 6e 67 20 | 70 61 73 73 65 64 20 61 |t being |passed a|
|000052e0| 73 20 61 20 70 61 72 61 | 6d 65 74 65 72 20 69 6e |s a para|meter in|
|000052f0| 20 74 68 65 20 41 70 70 | 6c 65 45 76 65 6e 74 52 | the App|leEventR|
|00005300| 65 63 6f 72 64 2e ff 05 | 00 0f 46 6f 6c 64 65 72 |ecord...|..Folder|
|00005310| 49 74 65 6d 50 61 72 61 | 6d 00 17 50 61 72 61 6d |ItemPara|m..Param|
|00005320| 65 74 65 72 4e 61 6d 65 | 20 61 73 20 53 74 72 69 |eterName| as Stri|
|00005330| 6e 67 00 4f 41 20 0e 46 | 6f 6c 64 65 72 49 74 65 |ng.OA .F|olderIte|
|00005340| 6d 0f 03 66 6f 6c 64 65 | 72 69 74 65 6d 04 20 62 |m..folde|ritem. b|
|00005350| 65 69 6e 67 20 70 61 73 | 73 65 64 20 61 73 20 61 |eing pas|sed as a|
|00005360| 20 70 61 72 61 6d 65 74 | 65 72 20 69 6e 20 74 68 | paramet|er in th|
|00005370| 65 20 41 70 70 6c 65 45 | 76 65 6e 74 52 65 63 6f |e AppleE|ventReco|
|00005380| 72 64 2e ff 05 00 0c 49 | 6e 74 65 67 65 72 50 61 |rd.....I|ntegerPa|
|00005390| 72 61 6d 00 18 50 61 72 | 61 6d 65 74 65 72 4e 61 |ram..Par|ameterNa|
|000053a0| 6d 65 20 61 73 20 53 74 | 72 69 6e 67 0d 00 54 41 |me as St|ring..TA|
|000053b0| 6e 20 69 6e 74 65 67 65 | 72 20 28 70 61 73 73 65 |n intege|r (passe|
|000053c0| 64 20 61 73 20 61 20 73 | 74 72 69 6e 67 29 20 62 |d as a s|tring) b|
|000053d0| 65 69 6e 67 20 70 61 73 | 73 65 64 20 61 73 20 61 |eing pas|sed as a|
|000053e0| 20 70 61 72 61 6d 65 74 | 65 72 20 69 6e 20 74 68 | paramet|er in th|
|000053f0| 65 20 41 70 70 6c 65 45 | 76 65 6e 74 52 65 63 6f |e AppleE|ventReco|
|00005400| 72 64 2e ff 05 00 0c 4d | 61 63 54 79 70 65 50 61 |rd.....M|acTypePa|
|00005410| 72 61 6d 00 17 50 61 72 | 61 6d 65 74 65 72 4e 61 |ram..Par|ameterNa|
|00005420| 6d 65 20 61 73 20 53 74 | 72 69 6e 67 00 4c 41 20 |me as St|ring.LA |
|00005430| 66 6f 75 72 20 63 68 61 | 72 61 63 74 65 72 20 73 |four cha|racter s|
|00005440| 74 72 69 6e 67 20 62 65 | 69 6e 67 20 70 61 73 73 |tring be|ing pass|
|00005450| 65 64 20 61 73 20 61 20 | 70 61 72 61 6d 65 74 65 |ed as a |paramete|
|00005460| 72 20 69 6e 20 74 68 65 | 20 41 70 70 6c 65 45 76 |r in the| AppleEv|
|00005470| 65 6e 74 52 65 63 6f 72 | 64 2e ff 05 00 14 4f 62 |entRecor|d.....Ob|
|00005480| 6a 65 63 74 53 70 65 63 | 69 66 69 65 72 50 61 72 |jectSpec|ifierPar|
|00005490| 61 6d 00 17 50 61 72 61 | 6d 65 74 65 72 4e 61 6d |am..Para|meterNam|
|000054a0| 65 20 61 73 20 53 74 72 | 69 6e 67 00 6e 41 6e 20 |e as Str|ing.nAn |
|000054b0| 0e 41 70 70 6c 65 45 76 | 65 6e 74 4f 62 6a 65 63 |.AppleEv|entObjec|
|000054c0| 74 53 70 65 63 69 66 69 | 65 72 0f 03 41 70 70 6c |tSpecifi|er..Appl|
|000054d0| 65 45 76 65 6e 74 4f 62 | 6a 65 63 74 53 70 65 63 |eEventOb|jectSpec|
|000054e0| 69 66 69 65 72 04 20 62 | 65 69 6e 67 20 70 61 73 |ifier. b|eing pas|
|000054f0| 73 65 64 20 61 73 20 61 | 20 70 61 72 61 6d 65 74 |sed as a| paramet|
|00005500| 65 72 20 69 6e 20 74 68 | 65 20 41 70 70 6c 65 45 |er in th|e AppleE|
|00005510| 76 65 6e 74 52 65 63 6f | 72 64 2e ff 05 00 0b 52 |ventReco|rd.....R|
|00005520| 65 63 6f 72 64 50 61 72 | 61 6d 00 17 50 61 72 61 |ecordPar|am..Para|
|00005530| 6d 65 74 65 72 4e 61 6d | 65 20 61 73 20 53 74 72 |meterNam|e as Str|
|00005540| 69 6e 67 00 5c 41 6e 20 | 0e 41 70 70 6c 65 45 76 |ing.\An |.AppleEv|
|00005550| 65 6e 74 52 65 63 6f 72 | 64 0f 03 41 70 70 6c 65 |entRecor|d..Apple|
|00005560| 45 76 65 6e 74 52 65 63 | 6f 72 64 04 20 62 65 69 |EventRec|ord. bei|
|00005570| 6e 67 20 70 61 73 73 65 | 64 20 61 73 20 61 20 70 |ng passe|d as a p|
|00005580| 61 72 61 6d 65 74 65 72 | 20 69 6e 20 74 68 65 20 |arameter| in the |
|00005590| 41 70 70 6c 65 45 76 65 | 6e 74 52 65 63 6f 72 64 |AppleEve|ntRecord|
|000055a0| 2e ff 05 00 0b 53 74 72 | 69 6e 67 50 61 72 61 6d |.....Str|ingParam|
|000055b0| 00 18 50 61 72 61 6d 65 | 74 65 72 4e 61 6d 65 20 |..Parame|terName |
|000055c0| 61 73 20 53 74 72 69 6e | 67 0d 00 3d 41 20 73 74 |as Strin|g..=A st|
|000055d0| 72 69 6e 67 20 62 65 69 | 6e 67 20 70 61 73 73 65 |ring bei|ng passe|
|000055e0| 64 20 61 73 20 61 20 70 | 61 72 61 6d 65 74 65 72 |d as a p|arameter|
|000055f0| 20 69 6e 20 74 68 65 20 | 41 70 70 6c 65 45 76 65 | in the |AppleEve|
|00005600| 6e 74 52 65 63 6f 72 64 | 2e ff 02 00 07 4d 65 74 |ntRecord|.....Met|
|00005610| 68 6f 64 73 04 00 04 4e | 61 6d 65 00 0a 50 61 72 |hods...N|ame..Par|
|00005620| 61 6d 65 74 65 72 73 00 | 0b 44 65 73 63 72 69 70 |ameters.|.Descrip|
|00005630| 74 69 6f 6e ff 05 00 10 | 4c 6f 61 64 46 72 6f 6d |tion....|LoadFrom|
|00005640| 54 65 6d 70 6c 61 74 65 | 00 1e 54 65 6d 70 6c 61 |Template|..Templa|
|00005650| 74 65 20 61 73 20 41 70 | 70 6c 65 45 76 65 6e 74 |te as Ap|pleEvent|
|00005660| 54 65 6d 70 6c 61 74 65 | 00 1d 4c 6f 61 64 73 20 |Template|..Loads |
|00005670| 61 6e 20 41 70 70 6c 65 | 20 45 76 65 6e 74 20 74 |an Apple| Event t|
|00005680| 65 6d 70 6c 61 74 65 ff | 05 00 0c 53 65 74 4e 75 |emplate.|...SetNu|
|00005690| 6c 6c 50 61 72 61 6d 00 | 17 50 61 72 61 6d 65 74 |llParam.|.Paramet|
|000056a0| 65 72 4e 61 6d 65 20 61 | 73 20 53 74 72 69 6e 67 |erName a|s String|
|000056b0| 00 36 53 65 74 73 20 74 | 68 65 20 70 61 72 61 6d |.6Sets t|he param|
|000056c0| 65 74 65 72 20 73 70 65 | 63 69 66 69 65 64 20 62 |eter spe|cified b|
|000056d0| 79 20 74 68 65 20 4b 65 | 79 77 6f 72 64 20 74 6f |y the Ke|yword to|
|000056e0| 20 61 20 6e 75 6c 6c 2e | ff 02 00 08 53 65 65 20 | a null.|....See |
|000056f0| 41 6c 73 6f 03 00 1e 0e | 41 70 70 6c 65 45 76 65 |Also....|AppleEve|
|00005700| 6e 74 0f 03 41 70 70 6c | 65 45 76 65 6e 74 04 20 |nt..Appl|eEvent. |
|00005710| 43 6c 61 73 73 0c 00 3b | 41 70 70 6c 65 45 76 65 |Class..;|AppleEve|
|00005720| 6e 74 73 3a 41 70 70 6c | 65 45 76 65 6e 74 54 61 |nts:Appl|eEventTa|
|00005730| 72 67 65 74 20 43 6c 61 | 73 73 3b 43 6c 61 73 73 |rget Cla|ss;Class|
|00005740| 65 73 3a 41 70 70 6c 65 | 45 76 65 6e 74 54 61 72 |es:Apple|EventTar|
|00005750| 67 65 74 0d 00 10 41 70 | 70 6c 65 45 76 65 6e 74 |get...Ap|pleEvent|
|00005760| 54 61 72 67 65 74 01 00 | 16 41 70 70 6c 65 45 76 |Target..|.AppleEv|
|00005770| 65 6e 74 54 61 72 67 65 | 74 20 43 6c 61 73 73 03 |entTarge|t Class.|
|00005780| 00 3d 55 73 65 64 20 74 | 6f 20 73 65 6e 64 20 41 |.=Used t|o send A|
|00005790| 70 70 6c 65 20 45 76 65 | 6e 74 73 20 74 6f 20 61 |pple Eve|nts to a|
|000057a0| 70 70 6c 69 63 61 74 69 | 6f 6e 73 20 6f 6e 20 6f |pplicati|ons on o|
|000057b0| 74 68 65 72 20 63 6f 6d | 70 75 74 65 72 73 2e 02 |ther com|puters..|
|000057c0| 00 0b 53 75 70 65 72 20 | 43 6c 61 73 73 03 00 10 |..Super |Class...|
|000057d0| 0e 4f 62 6a 65 63 74 0f | 03 4f 62 6a 65 63 74 04 |.Object.|.Object.|
|000057e0| 02 00 0a 50 72 6f 70 65 | 72 74 69 65 73 04 00 04 |...Prope|rties...|
|000057f0| 4e 61 6d 65 00 04 54 79 | 70 65 00 0b 44 65 73 63 |Name..Ty|pe..Desc|
|00005800| 72 69 70 74 69 6f 6e ff | 05 00 06 52 65 6d 6f 74 |ription.|...Remot|
|00005810| 65 00 07 42 6f 6f 6c 65 | 61 6e 00 1d 54 72 75 65 |e..Boole|an..True|
|00005820| 20 69 66 20 61 20 64 69 | 66 66 65 72 65 6e 74 20 | if a di|fferent |
|00005830| 63 6f 6d 70 75 74 65 72 | 2e ff 05 00 08 43 6f 6d |computer|.....Com|
|00005840| 70 75 74 65 72 00 06 53 | 74 72 69 6e 67 00 11 4e |puter..S|tring..N|
|00005850| 61 6d 65 20 6f 66 20 63 | 6f 6d 70 75 74 65 72 2e |ame of c|omputer.|
|00005860| ff 05 00 08 50 6f 72 74 | 54 79 70 65 00 06 53 74 |....Port|Type..St|
|00005870| 72 69 6e 67 00 2d 43 72 | 65 61 74 65 72 20 63 6f |ring.-Cr|eater co|
|00005880| 64 65 20 74 68 61 74 20 | 69 64 65 6e 74 69 66 69 |de that |identifi|
|00005890| 65 73 20 74 68 65 20 61 | 70 70 6c 69 63 74 69 6f |es the a|pplictio|
|000058a0| 6e 3b 20 ff 05 00 04 5a | 6f 6e 65 00 06 53 74 72 |n; ....Z|one..Str|
|000058b0| 69 6e 67 00 0e 41 70 70 | 6c 65 54 61 6c 6b 20 7a |ing..App|leTalk z|
|000058c0| 6f 6e 65 ff 02 00 07 4d | 65 74 68 6f 64 73 04 00 |one....M|ethods..|
|000058d0| 04 4e 61 6d 65 00 0a 50 | 61 72 61 6d 65 74 65 72 |.Name..P|arameter|
|000058e0| 73 00 0b 44 65 73 63 72 | 69 70 74 69 6f 6e ff 05 |s..Descr|iption..|
|000058f0| 00 0d 4e 65 77 41 70 70 | 6c 65 45 76 65 6e 74 00 |..NewApp|leEvent.|
|00005900| 26 45 76 65 6e 74 43 6c | 61 73 73 20 61 73 20 53 |&EventCl|ass as S|
|00005910| 74 72 69 6e 67 0d 45 76 | 65 6e 74 49 44 20 61 73 |tring.Ev|entID as|
|00005920| 20 53 74 72 69 6e 67 00 | 31 43 72 65 61 74 65 73 | String.|1Creates|
|00005930| 20 61 20 6e 65 77 20 61 | 70 70 6c 65 20 65 76 65 | a new a|pple eve|
|00005940| 6e 74 2e 20 52 65 74 75 | 72 6e 73 20 61 6e 20 41 |nt. Retu|rns an A|
|00005950| 70 70 6c 65 45 76 65 6e | 74 2e ff 0d 00 0f 41 70 |ppleEven|t.....Ap|
|00005960| 70 6c 65 4d 65 6e 75 46 | 6f 6c 64 65 72 0c 00 76 |pleMenuF|older..v|
|00005970| 46 69 6c 65 73 3a 41 70 | 70 6c 65 4d 65 6e 75 46 |Files:Ap|pleMenuF|
|00005980| 6f 6c 64 65 72 3c 5a 61 | 70 66 3e 20 db 20 3c 44 |older<Za|pf> . <D|
|00005990| 65 66 61 75 6c 74 20 50 | 61 72 61 20 46 6f 6e 74 |efault P|ara Font|
|000059a0| 3e 20 46 6f 6c 64 65 72 | 49 74 65 6d 3b 4f 53 3a |> Folder|Item;OS:|
|000059b0| 41 70 70 6c 65 4d 65 6e | 75 46 6f 6c 64 65 72 3c |AppleMen|uFolder<|
|000059c0| 5a 61 70 66 3e 20 db 20 | 3c 44 65 66 61 75 6c 74 |Zapf> . |<Default|
|000059d0| 20 50 61 72 61 20 46 6f | 6e 74 3e 20 46 6f 6c 64 | Para Fo|nt> Fold|
|000059e0| 65 72 49 74 65 6d 01 00 | 18 41 70 70 6c 65 4d 65 |erItem..|.AppleMe|
|000059f0| 6e 75 46 6f 6c 64 65 72 | 20 46 75 6e 63 74 69 6f |nuFolder| Functio|
|00005a00| 6e 03 00 2c 55 73 65 64 | 20 74 6f 20 61 63 63 65 |n..,Used| to acce|
|00005a10| 73 73 20 74 68 65 20 41 | 70 70 6c 65 20 4d 65 6e |ss the A|pple Men|
|00005a20| 75 20 49 74 65 6d 73 20 | 66 6f 6c 64 65 72 2e 20 |u Items |folder. |
|00005a30| 02 00 06 53 79 6e 74 61 | 78 03 00 18 72 65 73 75 |...Synta|x...resu|
|00005a40| 6c 74 3d 01 41 70 70 6c | 65 4d 65 6e 75 46 6f 6c |lt=.Appl|eMenuFol|
|00005a50| 64 65 72 02 04 00 04 50 | 61 72 74 00 04 54 79 70 |der....P|art..Typ|
|00005a60| 65 00 0b 44 65 73 63 72 | 69 70 74 69 6f 6e ff 05 |e..Descr|iption..|
|00005a70| 00 06 72 65 73 75 6c 74 | 00 18 0e 46 6f 6c 64 65 |..result|...Folde|
|00005a80| 72 49 74 65 6d 0f 03 46 | 6f 6c 64 65 72 49 74 65 |rItem..F|olderIte|
|00005a90| 6d 04 00 47 41 20 0e 46 | 6f 6c 64 65 72 49 74 65 |m..GA .F|olderIte|
|00005aa0| 6d 0f 03 66 6f 6c 64 65 | 72 49 74 65 6d 04 20 74 |m..folde|rItem. t|
|00005ab0| 68 61 74 20 72 65 70 72 | 65 73 65 6e 74 73 20 74 |hat repr|esents t|
|00005ac0| 68 65 20 41 70 70 6c 65 | 20 4d 65 6e 75 20 49 74 |he Apple| Menu It|
|00005ad0| 65 6d 73 20 66 6f 6c 64 | 65 72 2e ff 02 00 05 4e |ems fold|er.....N|
|00005ae0| 6f 74 65 73 03 00 5a 55 | 73 65 20 74 68 65 20 01 |otes..ZU|se the .|
|00005af0| 41 70 70 6c 65 4d 65 6e | 75 46 6f 6c 64 65 72 02 |AppleMen|uFolder.|
|00005b00| 20 66 75 6e 63 74 69 6f | 6e 20 61 6e 79 74 69 6d | functio|n anytim|
|00005b10| 65 20 79 6f 75 20 6e 65 | 65 64 20 74 6f 20 61 63 |e you ne|ed to ac|
|00005b20| 63 65 73 73 20 74 68 65 | 20 41 70 70 6c 65 20 4d |cess the| Apple M|
|00005b30| 65 6e 75 20 49 74 65 6d | 73 20 66 6f 6c 64 65 72 |enu Item|s folder|
|00005b40| 2e 03 01 64 54 68 65 20 | 01 41 70 70 6c 65 4d 65 |...dThe |.AppleMe|
|00005b50| 6e 75 46 6f 6c 64 65 72 | 02 20 66 75 6e 63 74 69 |nuFolder|. functi|
|00005b60| 6f 6e 20 70 72 6f 76 69 | 64 65 73 20 61 20 77 61 |on provi|des a wa|
|00005b70| 79 20 74 6f 20 61 63 63 | 65 73 73 20 74 68 65 20 |y to acc|ess the |
|00005b80| 41 70 70 6c 65 20 4d 65 | 6e 75 20 49 74 65 6d 73 |Apple Me|nu Items|
|00005b90| 20 66 6f 6c 64 65 72 20 | 74 68 61 74 20 77 69 6c | folder |that wil|
|00005ba0| 6c 20 77 6f 72 6b 20 75 | 6e 64 65 72 20 64 69 66 |l work u|nder dif|
|00005bb0| 66 65 72 65 6e 74 20 6c | 61 6e 67 75 61 67 65 20 |ferent l|anguage |
|00005bc0| 73 79 73 74 65 6d 73 2c | 20 61 6e 64 20 77 69 6c |systems,| and wil|
|00005bd0| 6c 20 63 6f 6e 74 69 6e | 75 65 20 74 6f 20 77 6f |l contin|ue to wo|
|00005be0| 72 6b 20 65 76 65 6e 20 | 69 66 20 41 70 70 6c 65 |rk even |if Apple|
|00005bf0| 20 72 65 6f 72 67 61 6e | 69 7a 65 73 20 74 68 65 | reorgan|izes the|
|00005c00| 20 53 79 73 74 65 6d 20 | 66 6f 6c 64 65 72 2e 20 | System |folder. |
|00005c10| 49 66 20 79 6f 75 72 20 | 61 70 70 6c 69 63 61 74 |If your |applicat|
|00005c20| 69 6f 6e 20 77 69 6c 6c | 20 62 65 20 75 73 65 64 |ion will| be used|
|00005c30| 20 6f 6e 20 57 69 6e 64 | 6f 77 73 2c 20 79 6f 75 | on Wind|ows, you|
|00005c40| 20 63 61 6e 20 63 68 65 | 63 6b 20 74 68 65 20 76 | can che|ck the v|
|00005c50| 61 6c 75 65 20 6f 66 20 | 74 68 65 20 0e 54 61 72 |alue of |the .Tar|
|00005c60| 67 65 74 57 69 6e 33 32 | 0f 03 54 61 72 67 65 74 |getWin32|..Target|
|00005c70| 57 69 6e 33 32 04 20 67 | 6c 6f 62 61 6c 20 63 6f |Win32. g|lobal co|
|00005c80| 6e 73 74 61 6e 74 20 62 | 65 66 6f 72 65 20 63 61 |nstant b|efore ca|
|00005c90| 6c 6c 69 6e 67 20 01 41 | 70 70 6c 65 4d 65 6e 75 |lling .A|ppleMenu|
|00005ca0| 46 6f 6c 64 65 72 02 2e | 02 00 08 45 78 61 6d 70 |Folder..|...Examp|
|00005cb0| 6c 65 73 03 00 66 54 68 | 69 73 20 65 78 61 6d 70 |les..fTh|is examp|
|00005cc0| 6c 65 20 70 6c 61 63 65 | 73 20 61 6c 6c 20 74 68 |le place|s all th|
|00005cd0| 65 20 6e 61 6d 65 73 20 | 6f 66 20 74 68 65 20 69 |e names |of the i|
|00005ce0| 74 65 6d 73 20 69 6e 20 | 74 68 65 20 41 70 70 6c |tems in |the Appl|
|00005cf0| 65 20 4d 65 6e 75 20 49 | 74 65 6d 73 20 66 6f 6c |e Menu I|tems fol|
|00005d00| 64 65 72 20 69 6e 20 61 | 20 0e 4c 69 73 74 42 6f |der in a| .ListBo|
|00005d10| 78 0f 03 6c 69 73 74 62 | 6f 78 04 2e 06 00 17 0e |x..listb|ox......|
|00005d20| 44 69 6d 0f 03 44 69 6d | 04 20 69 20 61 73 20 49 |Dim..Dim|. i as I|
|00005d30| 6e 74 65 67 65 72 06 00 | 28 0e 44 69 6d 0f 03 44 |nteger..|(.Dim..D|
|00005d40| 69 6d 04 20 66 20 61 73 | 20 0e 46 6f 6c 64 65 72 |im. f as| .Folder|
|00005d50| 49 74 65 6d 0f 03 46 6f | 6c 64 65 72 49 74 65 6d |Item..Fo|lderItem|
|00005d60| 04 06 00 24 66 3d 0e 41 | 70 70 6c 65 4d 65 6e 75 |...$f=.A|ppleMenu|
|00005d70| 46 6f 6c 64 65 72 0f 03 | 41 70 70 6c 65 4d 65 6e |Folder..|AppleMen|
|00005d80| 75 46 6f 6c 64 65 72 04 | 06 00 20 0e 46 6f 72 0f |uFolder.|.. .For.|
|00005d90| 03 46 6f 72 04 20 69 3d | 31 20 0e 46 6f 72 0f 03 |.For. i=|1 .For..|
|00005da0| 74 6f 04 20 66 2e 43 6f | 75 6e 74 06 00 20 20 20 |to. f.Co|unt.. |
|00005db0| 4c 69 73 74 42 6f 78 31 | 2e 41 64 64 52 6f 77 20 |ListBox1|.AddRow |
|00005dc0| 66 2e 49 74 65 6d 28 69 | 29 2e 4e 61 6d 65 06 00 |f.Item(i|).Name..|
|00005dd0| 0b 0e 46 6f 72 0f 03 4e | 65 78 74 04 02 00 08 53 |..For..N|ext....S|
|00005de0| 65 65 20 41 6c 73 6f 03 | 01 c3 0e 43 6f 6e 74 72 |ee Also.|...Contr|
|00005df0| 6f 6c 50 61 6e 65 6c 73 | 46 6f 6c 64 65 72 0f 03 |olPanels|Folder..|
|00005e00| 43 6f 6e 74 72 6f 6c 50 | 61 6e 65 6c 73 46 6f 6c |ControlP|anelsFol|
|00005e10| 64 65 72 04 20 46 75 6e | 63 74 69 6f 6e 2c 20 0e |der. Fun|ction, .|
|00005e20| 44 65 73 6b 74 6f 70 46 | 6f 6c 64 65 72 0f 03 44 |DesktopF|older..D|
|00005e30| 65 73 6b 74 6f 70 46 6f | 6c 64 65 72 04 20 46 75 |esktopFo|lder. Fu|
|00005e40| 6e 63 74 69 6f 6e 2c 20 | 0e 45 78 74 65 6e 73 69 |nction, |.Extensi|
|00005e50| 6f 6e 73 46 6f 6c 64 65 | 72 0f 03 45 78 74 65 6e |onsFolde|r..Exten|
|00005e60| 73 69 6f 6e 73 46 6f 6c | 64 65 72 04 20 02 46 75 |sionsFol|der. .Fu|
|00005e70| 6e 63 74 69 6f 6e 2c 20 | 0e 46 6f 6e 74 73 46 6f |nction, |.FontsFo|
|00005e80| 6c 64 65 72 0f 03 46 6f | 6e 74 73 46 6f 6c 64 65 |lder..Fo|ntsFolde|
|00005e90| 72 04 20 46 75 6e 63 74 | 69 6f 6e 2c 20 0e 50 72 |r. Funct|ion, .Pr|
|00005ea0| 65 66 65 72 65 6e 63 65 | 73 46 6f 6c 64 65 72 0f |eference|sFolder.|
|00005eb0| 03 50 72 65 66 65 72 65 | 6e 63 65 73 46 6f 6c 64 |.Prefere|ncesFold|
|00005ec0| 65 72 04 20 46 75 6e 63 | 74 69 6f 6e 2c 20 0e 53 |er. Func|tion, .S|
|00005ed0| 68 75 74 44 6f 77 6e 49 | 74 65 6d 73 46 6f 6c 64 |hutDownI|temsFold|
|00005ee0| 65 72 0f 03 53 68 75 74 | 44 6f 77 6e 49 74 65 6d |er..Shut|DownItem|
|00005ef0| 73 46 6f 6c 64 65 72 04 | 20 46 75 6e 63 74 69 6f |sFolder.| Functio|
|00005f00| 6e 2c 20 0e 53 74 61 72 | 74 75 70 49 74 65 6d 73 |n, .Star|tupItems|
|00005f10| 46 6f 6c 64 65 72 0f 03 | 53 74 61 72 74 75 70 49 |Folder..|StartupI|
|00005f20| 74 65 6d 73 46 6f 6c 64 | 65 72 04 20 46 75 6e 63 |temsFold|er. Func|
|00005f30| 74 69 6f 6e 2c 20 0e 53 | 79 73 74 65 6d 46 6f 6c |tion, .S|ystemFol|
|00005f40| 64 65 72 0f 03 53 79 73 | 74 65 6d 46 6f 6c 64 65 |der..Sys|temFolde|
|00005f50| 72 04 20 46 75 6e 63 74 | 69 6f 6e 2c 20 0e 54 65 |r. Funct|ion, .Te|
|00005f60| 6d 70 6f 72 61 72 79 46 | 6f 6c 64 65 72 0f 03 54 |mporaryF|older..T|
|00005f70| 65 6d 70 6f 72 61 72 79 | 46 6f 6c 64 65 72 04 20 |emporary|Folder. |
|00005f80| 46 75 6e 63 74 69 6f 6e | 2c 20 0e 54 72 61 73 68 |Function|, .Trash|
|00005f90| 46 6f 6c 64 65 72 0f 03 | 54 72 61 73 68 46 6f 6c |Folder..|TrashFol|
|00005fa0| 64 65 72 04 20 46 75 6e | 63 74 69 6f 6e 0d 00 06 |der. Fun|ction...|
|00005fb0| 41 70 70 6c 65 74 0c 00 | 0e 43 6c 61 73 73 65 73 |Applet..|.Classes|
|00005fc0| 3a 41 70 70 6c 65 74 0d | 00 06 41 70 70 6c 65 74 |:Applet.|..Applet|
|00005fd0| 01 00 0c 41 70 70 6c 65 | 74 20 43 6c 61 73 73 03 |...Apple|t Class.|
|00005fe0| 00 a5 41 70 70 6c 65 74 | 20 69 73 20 74 68 65 20 |..Applet| is the |
|00005ff0| 62 61 73 65 20 63 6c 61 | 73 73 20 66 6f 72 20 74 |base cla|ss for t|
|00006000| 68 65 20 64 65 66 61 75 | 6c 74 20 77 69 6e 64 6f |he defau|lt windo|
|00006010| 77 2e 20 54 68 69 73 20 | 63 6c 61 73 73 20 69 73 |w. This |class is|
|00006020| 20 66 75 6e 63 74 69 6f | 6e 61 6c 6c 79 20 69 64 | functio|nally id|
|00006030| 65 6e 74 69 63 61 6c 20 | 74 6f 20 74 68 65 20 0e |entical |to the .|
|00006040| 44 69 61 6c 6f 67 0f 03 | 44 69 61 6c 6f 67 04 20 |Dialog..|Dialog. |
|00006050| 63 6c 61 73 73 20 65 78 | 63 65 70 74 20 74 68 61 |class ex|cept tha|
|00006060| 74 20 69 74 20 68 61 73 | 20 74 68 65 20 0e 53 68 |t it has| the .Sh|
|00006070| 6f 77 55 52 4c 0f 03 53 | 68 6f 77 55 52 4c 04 20 |owURL..S|howURL. |
|00006080| 6d 65 74 68 6f 64 2e 02 | 00 0b 53 75 70 65 72 20 |method..|..Super |
|00006090| 43 6c 61 73 73 03 00 15 | 0e 57 69 6e 64 6f 77 43 |Class...|.WindowC|
|000060a0| 6c 61 73 73 0f 03 57 69 | 6e 64 6f 77 04 02 00 07 |lass..Wi|ndow....|
|000060b0| 4d 65 74 68 6f 64 73 04 | 00 04 4e 61 6d 65 00 0a |Methods.|..Name..|
|000060c0| 50 61 72 61 6d 65 74 65 | 72 73 00 0b 44 65 73 63 |Paramete|rs..Desc|
|000060d0| 72 69 70 74 69 6f 6e ff | 05 00 07 53 68 6f 77 55 |ription.|...ShowU|
|000060e0| 52 4c 00 0d 55 52 4c 20 | 61 73 20 53 74 72 69 6e |RL..URL |as Strin|
|000060f0| 67 00 3b 43 61 75 73 65 | 73 20 74 68 65 20 75 73 |g.;Cause|s the us|
|00006100| 65 72 d5 73 20 77 65 62 | 20 62 72 6f 77 73 65 72 |er.s web| browser|
|00006110| 20 74 6f 20 64 69 73 70 | 6c 61 79 20 74 68 65 20 | to disp|lay the |
|00006120| 73 70 65 63 69 66 69 65 | 64 20 55 52 4c 2e ff 0d |specifie|d URL...|
|00006130| 00 0b 41 70 70 6c 69 63 | 61 74 69 6f 6e 0c 00 5e |..Applic|ation..^|
|00006140| 41 70 70 6c 65 45 76 65 | 6e 74 73 3a 41 70 70 6c |AppleEve|nts:Appl|
|00006150| 69 63 61 74 69 6f 6e 20 | 43 6c 61 73 73 3b 43 6c |ication |Class;Cl|
|00006160| 61 73 73 65 73 3a 41 70 | 70 6c 69 63 61 74 69 6f |asses:Ap|plicatio|
|00006170| 6e 3b 46 69 6c 65 73 3a | 41 70 70 6c 69 63 61 74 |n;Files:|Applicat|
|00006180| 69 6f 6e 20 43 6c 61 73 | 73 3b 4f 53 3a 41 70 70 |ion Clas|s;OS:App|
|00006190| 6c 69 63 61 74 69 6f 6e | 20 43 6c 61 73 73 01 00 |lication| Class..|
|000061a0| 11 41 70 70 6c 69 63 61 | 74 69 6f 6e 20 43 6c 61 |.Applica|tion Cla|
|000061b0| 73 73 03 01 ae 41 6e 20 | 69 6e 73 74 61 6e 63 65 |ss...An |instance|
|000061c0| 20 6f 66 20 74 68 65 20 | 41 70 70 6c 69 63 61 74 | of the |Applicat|
|000061d0| 69 6f 6e 20 43 6c 61 73 | 73 20 69 73 20 63 72 65 |ion Clas|s is cre|
|000061e0| 61 74 65 64 20 61 75 74 | 6f 6d 61 74 69 63 61 6c |ated aut|omatical|
|000061f0| 6c 79 20 77 68 65 6e 20 | 79 6f 75 72 20 61 70 70 |ly when |your app|
|00006200| 6c 69 63 61 74 69 6f 6e | 20 69 73 20 6f 70 65 6e |lication| is open|
|00006210| 65 64 2e 20 49 74 20 69 | 73 20 75 73 65 64 20 74 |ed. It i|s used t|
|00006220| 6f 20 68 61 6e 64 6c 65 | 20 6d 65 6e 75 20 69 74 |o handle| menu it|
|00006230| 65 6d 73 20 77 68 65 6e | 20 6e 6f 20 77 69 6e 64 |ems when| no wind|
|00006240| 6f 77 73 20 61 72 65 20 | 6f 70 65 6e 20 6f 72 20 |ows are |open or |
|00006250| 66 6f 72 20 68 61 6e 64 | 6c 69 6e 67 20 6d 65 6e |for hand|ling men|
|00006260| 75 20 69 74 65 6d 73 20 | 74 68 61 74 20 73 68 6f |u items |that sho|
|00006270| 75 6c 64 20 72 65 73 70 | 6f 6e 64 20 69 6e 20 74 |uld resp|ond in t|
|00006280| 68 65 20 73 61 6d 65 20 | 77 61 79 20 72 65 67 61 |he same |way rega|
|00006290| 72 64 6c 65 73 73 20 6f | 66 20 77 68 69 63 68 20 |rdless o|f which |
|000062a0| 77 69 6e 64 6f 77 20 69 | 73 20 6f 70 65 6e 2e 20 |window i|s open. |
|000062b0| 49 74 20 61 6c 73 6f 20 | 68 61 73 20 65 76 65 6e |It also |has even|
|000062c0| 74 73 20 74 68 61 74 20 | 69 6e 66 6f 72 6d 20 79 |ts that |inform y|
|000062d0| 6f 75 20 77 68 65 6e 20 | 74 68 65 20 75 73 65 72 |ou when |the user|
|000062e0| 20 68 61 73 20 64 6f 75 | 62 6c 65 2d 63 6c 69 63 | has dou|ble-clic|
|000062f0| 6b 65 64 20 6f 6e 20 6f | 6e 65 20 6f 66 20 79 6f |ked on o|ne of yo|
|00006300| 75 72 20 61 70 70 6c 69 | 63 61 74 69 6f 6e d5 73 |ur appli|cation.s|
|00006310| 20 64 6f 63 75 6d 65 6e | 74 73 20 61 6e 64 20 72 | documen|ts and r|
|00006320| 65 63 65 69 76 65 73 20 | 0e 41 70 70 6c 65 45 76 |eceives |.AppleEv|
|00006330| 65 6e 74 0f 03 41 70 70 | 6c 65 45 76 65 6e 74 73 |ent..App|leEvents|
|00006340| 04 20 73 65 6e 74 20 74 | 6f 20 79 6f 75 72 20 61 |. sent t|o your a|
|00006350| 70 70 6c 69 63 61 74 69 | 6f 6e 20 61 73 20 77 65 |pplicati|on as we|
|00006360| 6c 6c 2e 02 00 0b 53 75 | 70 65 72 20 43 6c 61 73 |ll....Su|per Clas|
|00006370| 73 03 00 10 0e 4f 62 6a | 65 63 74 0f 03 4f 62 6a |s....Obj|ect..Obj|
|00006380| 65 63 74 04 02 00 0a 50 | 72 6f 70 65 72 74 69 65 |ect....P|ropertie|
|00006390| 73 04 00 04 4e 61 6d 65 | 00 04 54 79 70 65 00 0b |s...Name|..Type..|
|000063a0| 44 65 73 63 72 69 70 74 | 69 6f 6e ff 05 00 0b 4d |Descript|ion....M|
|000063b0| 6f 75 73 65 43 75 72 73 | 6f 72 00 0b 4d 6f 75 73 |ouseCurs|or..Mous|
|000063c0| 65 43 75 72 73 6f 72 00 | 42 54 68 65 20 63 75 72 |eCursor.|BThe cur|
|000063d0| 73 6f 72 20 74 6f 20 62 | 65 20 64 69 73 70 6c 61 |sor to b|e displa|
|000063e0| 79 65 64 20 77 68 69 6c | 65 20 74 68 65 20 6d 6f |yed whil|e the mo|
|000063f0| 75 73 65 20 69 73 20 6e | 6f 74 20 77 69 74 68 69 |use is n|ot withi|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.